Skip to content

Commit

Permalink
Update deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBrostrom committed Sep 16, 2023
1 parent 52c93b9 commit f3c8cb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
- name: Setup HEMTT
uses: arma-actions/hemtt@v1
- name: Run HEMTT build
run: ./tools/deploy.sh
run: ./tools/deploy.sh ${{ github.ref_name }}
- name: Upload release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
tag: ${{ github.ref_name }}
file: release/*.zip
overwrite: true
2 changes: 1 addition & 1 deletion tools/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SCRIPTPATH=`dirname $(readlink -f $0)`
cd $SCRIPTPATH

# Set version
tagVersion=$(git describe --tags --abbrev=0)
tagVersion=$*
echo "Build version $tagVersion"

versionMajor=$(echo "$tagVersion" | cut -d. -f1)
Expand Down

0 comments on commit f3c8cb4

Please sign in to comment.