From b6bb888d82392fe1894128d51652dec2057367be Mon Sep 17 00:00:00 2001 From: jugeeya Date: Wed, 19 Aug 2020 17:37:01 -0700 Subject: [PATCH] Beta tags should have commit SHA --- .github/workflows/rust.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f341d0f..d3c3421 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -54,6 +54,9 @@ jobs: mkdir -p ${{env.TESLA_OVERLAY_DIR}} cp overlay/ovlTrainingModpack.ovl ${{env.TESLA_OVERLAY_DIR}}/ovlTrainingModpack.ovl zip -r training_modpack_beta.zip atmosphere switch + - name: Get short commit SHA + id: commit-sha + run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" - name: Update Release uses: meeDamian/github-release@2.0 with: @@ -61,7 +64,7 @@ jobs: prerelease: true allow_override: true gzip: false - tag: beta + tag: beta-${{ steps.commit-sha.outputs.sha_short }} name: beta body: > Beta built off of the latest code in the repository.