From 3862730203680241326ba6abf1dd8c5537622603 Mon Sep 17 00:00:00 2001 From: Kamil Kosek Date: Tue, 10 Dec 2024 17:27:17 +0100 Subject: [PATCH] Update manual-build.yml --- .github/workflows/manual-build.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/manual-build.yml b/.github/workflows/manual-build.yml index e6182fb..7e09b41 100644 --- a/.github/workflows/manual-build.yml +++ b/.github/workflows/manual-build.yml @@ -32,7 +32,7 @@ jobs: - name: Extract Version id: extract_version run: | - version=$(python3 -c "import version; print(f'${{ env.BRANCH_NAME}}-{version.__version__}')") + version=$(python3 -c "import version; print(f'${version.__version__}')") echo "VERSION=$version" >> $GITHUB_ENV - name: Read Changelog @@ -68,17 +68,19 @@ jobs: push: true tags: | ghcr.io/${{ github.repository }}:${{ env.COMMIT_SHA }} - ghcr.io/${{ github.repository }}:dev - ghcr.io/${{ github.repository }}:${{ env.VERSION }} + ghcr.io/${{ github.repository }}:${{ env.BRANCH_NAME }} + ghcr.io/${{ github.repository }}:${{ env.BRANCH_NAME }}-${{ env.VERSION }} - name: Create GitHub Release uses: softprops/action-gh-release@v2 with: - tag_name: ${{ env.VERSION }} - name: Dev Release ${{ env.VERSION }} + tag_name: | + ${{ env.BRANCH_NAME }}-${{ env.VERSION }} + name: | + ${{ env.BRANCH_NAME }} Release ${{ env.VERSION }} body: | ${{ env.CHANGELOG_CONTENT }} generate_release_notes: true make_latest: false - \ No newline at end of file +