aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Glaze <andrew.glaze76@gmail.com>2023-03-22 08:17:28 -0400
committerGitHub <noreply@github.com>2023-03-22 13:17:28 +0100
commit009c1101d2383ff0e354eac413cebe790c01a89c (patch)
tree97725643b431b36d8de9379e390fb68e7817f197
parentba95ee54abf4905d38f3563881a1643f102993b3 (diff)
CI: add a version tag to correlate release versions with commits (#4572)1.1.676
* add step to tag commit with release version * add step to tag commit with release version * Rename step to “Create Tag” * Fix name
-rw-r--r--.github/workflows/release.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index b2c5e2f0..88eb5527 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -112,6 +112,17 @@ jobs:
repo: ${{ env.RYUJINX_TARGET_RELEASE_CHANNEL_REPO }}
token: ${{ secrets.RELEASE_TOKEN }}
+ - name: Create tag
+ uses: actions/github-script@v5
+ with:
+ script: |
+ github.rest.git.createRef({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ ref: 'refs/tags/${{ steps.version_info.outputs.build_version }}',
+ sha: context.sha
+ })
+
flatpak_release:
uses: ./.github/workflows/flatpak.yml
needs: release