Skip to content

Commit

Permalink
Testing higher build numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuken committed Nov 20, 2020
1 parent dbc0e67 commit aa2783a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/push.yml
Expand Up @@ -18,6 +18,7 @@ jobs:
run: |
git clone --depth=1 --branch=master https://github.com/Anuken/MindustryBuilds ../MindustryBuilds
cd ../MindustryBuilds
git tag ${GITHUB_RUN_NUMBER}
BNUM=$(($GITHUB_RUN_NUMBER + 20000))
git tag ${BNUM}

This comment has been minimized.

Copy link
@Quezler

Quezler Nov 20, 2020

Contributor

maybe you could just get the largest/highest already existing tag, and just ++ it?

This comment has been minimized.

Copy link
@Anuken

Anuken Nov 20, 2020

Author Owner

That's harder and doesn't really fix anything.

git config --global user.name "Build Uploader"
git push https://Anuken:${{ secrets.API_TOKEN_GITHUB }}@github.com/Anuken/MindustryBuilds ${GITHUB_RUN_NUMBER}
git push https://Anuken:${{ secrets.API_TOKEN_GITHUB }}@github.com/Anuken/MindustryBuilds ${BNUM}

0 comments on commit aa2783a

Please sign in to comment.