I’m sure there’s an easy answer for this, but I just need to a very simple CI setup.
- I have small repo of about 10 bash scripts used for some personal use.
All I want to do is run a few commands (chmod +x on the scripts), and then build a tar ball. Maybe get fancy and make it a select extracting archive.
This me using gitlab for the first time. Any help you can provide would be great.
Thanks in advance.
Something like this, untested:
- chmod +x *.sh
- DATE=`date +"%Y-%m-%d"`
- tar czf my-scripts-$DATE.tar.gz *.sh
make it a select extracting archive.
I’m not sure I understand this requirement. Maybe a self-extracting archive, like an .exe on Windows? I do not know how to achieve that on Linux.
My hero. Just did my first successful build
Thanks for getting me started.