Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hmiguim committed Nov 29, 2024
1 parent b88d6eb commit e16f98a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/latest.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release
name: Latest
on:
push:
tags-ignore:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ jobs:
ghcr.io/keeps/commons-ip-cits-siard
# keeps/roda
tags: |
type=semver,pattern=v{{version}}
type=semver,pattern=v{{major}}.{{minor}}
type=semver,pattern=v{{major}}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
flavor: |
latest=false
- name: Set up Docker Buildx
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/${{ env.release_version }}.jar
file: target/commons-ip-cits-siard-cli-${{ env.release_version }}.jar
asset_name: commons-ip-cits-siard-cli-${{ env.release_version }}.jar
tag: ${{ github.ref }}
release_name: ${{ github.ref_name }}
Expand Down
2 changes: 1 addition & 1 deletion dev/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ release() {
################################
EOF
RELEASE_VERSION=$1
RELEASE_TAG="$RELEASE_VERSION"
RELEASE_TAG="v$RELEASE_VERSION"
# Ensure all classes have license header
mvn license:format

Expand Down

0 comments on commit e16f98a

Please sign in to comment.