diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ed9f34b..92e32dc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - name: Set VERSION variable from tag - run: echo "VERSION=${GITHUB_REF/refs\/tags\/umb-v/}" >> $GITHUB_ENV + run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV - name: Output version name run: echo "${VERSION}" - name: Cancel job if version is empty diff --git a/.github/workflows/umb-release.yml b/.github/workflows/umb-release.yml index baac3ca..61cc9aa 100644 --- a/.github/workflows/umb-release.yml +++ b/.github/workflows/umb-release.yml @@ -10,7 +10,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - name: Set VERSION variable from tag - run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV + run: echo "VERSION=${GITHUB_REF/refs\/tags\/umb-v/}" >> $GITHUB_ENV - name: Output version name run: echo "${VERSION}" - name: Cancel job if version is empty