Created
June 1, 2020 10:40
-
-
Save andreagalle/377cb587dd799f59f97857b66ac8ade7 to your computer and use it in GitHub Desktop.
a first attempt to auto-prepend a db-version when the branch is not up to date
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
db_n=9 | |
#make intel_debug_fast | |
exe_name=pijet-4ea9e50 | |
dbt_name="db${db_n}-${exe_name}" | |
mv "db-${exe_name}" ${dbt_name} | |
make install e=${dbt_name} | |
cd bin/ | |
db_n=${db_n}+1 | |
echo ${db_n} | |
sbag $1 ${dbt_name} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if not:
Sul branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean