Skip to content

Commit 48c44ed

Browse files
committed
fix(ci): fix setting ggbridge apk version with pre-releases
1 parent 95db9b1 commit 48c44ed

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/actions/github/action.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,7 @@ runs:
6262
# Extract the tag, remove "v" prefix if it exists
6363
RAW_VERSION=${GITHUB_REF##*/}
6464
VERSION=${RAW_VERSION#v}
65+
GA_VERSION=${VERSION%-*}
6566
echo "VERSION: $VERSION"
6667
echo "version=$VERSION" >> $GITHUB_OUTPUT
68+
echo "ga-version=$GA_VERSION" >> $GITHUB_OUTPUT

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
id: apk
4747
uses: ./.github/actions/melange/build
4848
with:
49-
version: ${{ steps.github.outputs.version }}
49+
version: ${{ steps.github.outputs.ga-version }}
5050
arch: ${{ steps.github.outputs.arch }}
5151
signing-key: ${{ runner.temp }}/packages/melange.rsa
5252
output-dir: ${{ runner.temp }}/packages

0 commit comments

Comments
 (0)