From a538056f98d34dcbc08f0dc04b22a09db7c0c0b3 Mon Sep 17 00:00:00 2001 From: Krille Date: Sat, 13 Jan 2024 17:23:12 +0100 Subject: [PATCH] ci: Fix get tag name for snapcraft promote --- .github/workflows/release.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index fbe1f7f06..43da2b544 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -179,6 +179,9 @@ jobs: uses: actions/checkout@v4 - name: Install Snapcraft uses: samuelmeuli/action-snapcraft@v2 + - name: Get Tag Name + id: tag_name + run: echo "::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/})" - name: Promote Snap env: # Workaround for https://github.com/snapcore/snapcraft/issues/4439 SNAPCRAFT_HAS_TTY: "true" @@ -187,4 +190,4 @@ jobs: yes | snapcraft promote fluffychat --from-channel edge --to-channel candidate else yes | snapcraft promote fluffychat --from-channel edge --to-channel stable - fi \ No newline at end of file + fi