Update manual-build.yml
This commit is contained in:
12
.github/workflows/manual-build.yml
vendored
12
.github/workflows/manual-build.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
|||||||
- name: Extract Version
|
- name: Extract Version
|
||||||
id: extract_version
|
id: extract_version
|
||||||
run: |
|
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
|
echo "VERSION=$version" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Read Changelog
|
- name: Read Changelog
|
||||||
@@ -68,13 +68,15 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/${{ github.repository }}:${{ env.COMMIT_SHA }}
|
ghcr.io/${{ github.repository }}:${{ env.COMMIT_SHA }}
|
||||||
ghcr.io/${{ github.repository }}:dev
|
ghcr.io/${{ github.repository }}:${{ env.BRANCH_NAME }}
|
||||||
ghcr.io/${{ github.repository }}:${{ env.VERSION }}
|
ghcr.io/${{ github.repository }}:${{ env.BRANCH_NAME }}-${{ env.VERSION }}
|
||||||
- name: Create GitHub Release
|
- name: Create GitHub Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ env.VERSION }}
|
tag_name: |
|
||||||
name: Dev Release ${{ env.VERSION }}
|
${{ env.BRANCH_NAME }}-${{ env.VERSION }}
|
||||||
|
name: |
|
||||||
|
${{ env.BRANCH_NAME }} Release ${{ env.VERSION }}
|
||||||
body: |
|
body: |
|
||||||
${{ env.CHANGELOG_CONTENT }}
|
${{ env.CHANGELOG_CONTENT }}
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
|
|||||||
Reference in New Issue
Block a user