Refactor release workflow by commenting out unused steps for clarity
This commit is contained in:
@@ -52,34 +52,37 @@ jobs:
|
||||
echo "$(uv tool run bump-my-version show current_version)" >> $GITHUB_ENV
|
||||
echo "EOF" >> $GITHUB_ENV
|
||||
- name: Check version
|
||||
run: echo ${{ env.VERSION }}
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: ${{ github.ref }}
|
||||
run: |
|
||||
echo ${{ env.VERSION }}
|
||||
cat .pyproject.toml
|
||||
# - name: Push changes
|
||||
# uses: ad-m/github-push-action@master
|
||||
# with:
|
||||
# github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# branch: ${{ github.ref }}
|
||||
|
||||
- name: Build Changelog
|
||||
id: build_changelog
|
||||
uses: https://github.com/mikepenz/release-changelog-builder-action@v5
|
||||
with:
|
||||
platform: "gitea"
|
||||
baseURL: "http://gitea:3000"
|
||||
configuration: ".gitea/changelog-config.json"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
# - name: Build Changelog
|
||||
# id: build_changelog
|
||||
# uses: https://github.com/mikepenz/release-changelog-builder-action@v5
|
||||
# with:
|
||||
# mode: "COMMIT"
|
||||
# platform: "gitea"
|
||||
# baseURL: "http://gitea:3000"
|
||||
# configuration: ".gitea/changelog-config.json"
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
|
||||
|
||||
- name: Create release
|
||||
id: create_release
|
||||
if: ${{ github.event.inputs.github_release == 'true' }}
|
||||
uses: softprops/action-gh-release@master
|
||||
with:
|
||||
tag_name: ${{ env.VERSION }}
|
||||
release_name: Release ${{ env.VERSION }}
|
||||
body: ${{steps.build_changelog.outputs.changelog}}
|
||||
draft: false
|
||||
prerelease: false
|
||||
make_latest: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
||||
# - name: Create release
|
||||
# id: create_release
|
||||
# if: ${{ github.event.inputs.github_release == 'true' }}
|
||||
# uses: softprops/action-gh-release@master
|
||||
# with:
|
||||
# tag_name: ${{ env.VERSION }}
|
||||
# release_name: Release ${{ env.VERSION }}
|
||||
# body: ${{steps.build_changelog.outputs.changelog}}
|
||||
# draft: false
|
||||
# prerelease: false
|
||||
# make_latest: true
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user