Fix version parsing
All checks were successful
Build Docker image / Build image (push) Successful in 23s
All checks were successful
Build Docker image / Build image (push) Successful in 23s
This commit is contained in:
parent
49ab9aa6ed
commit
b31b8c0948
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ jobs:
|
|||
id: point_release
|
||||
if: env.PUSHED == 'true' || steps.check.outputs.differs == 'true'
|
||||
run: |
|
||||
VERSION="$(skopeo list-tags ${{ env.UPSTREAM }} | jq -r '.Tags | last' | cut -d '-' -f 1)"
|
||||
VERSION="$(skopeo list-tags docker://codeberg.org/forgejo/forgejo | jq -r '.Tags[]' | grep -E '^[0-9]+\.[0-9]+(\.[0-9]+)?(-[0-9]+)?$' | sort -V | tail -n1)"
|
||||
echo "Point release: $VERSION"
|
||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue