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