Sample Header Ad - 728x90

How can I count how many times a shell script is run (for local conan versioning)?

1 vote
1 answer
73 views
I'm looking for a way to do version control on my conan package, locally (note that I'm new to conan and usually the reference used by my working place is the CI_PIPELINE_IID). I was thinking of doing a script that does: make, make install, and export-pkg. I was thinking of having an environment variable that gets incremented with each use of the script, or having a file with the number in it, that I would have to read and write to increment it. I wanted to know opinions since I'm fairly new to GNU/Linux.
Asked by lbonvieuchum (11 rep)
Jul 22, 2021, 09:02 PM
Last activity: Jul 23, 2021, 02:00 PM