From a121e59f47529045859c67250dc6c07c8b020e52 Mon Sep 17 00:00:00 2001 From: WorldTeacher Date: Thu, 29 May 2025 11:01:48 +0200 Subject: [PATCH] Refactor release workflow by commenting out unused steps for clarity --- .gitea/workflows/relase.yml | 59 +++++++++++++++++++------------------ 1 file changed, 31 insertions(+), 28 deletions(-) diff --git a/.gitea/workflows/relase.yml b/.gitea/workflows/relase.yml index 4b130e4..b78e751 100644 --- a/.gitea/workflows/relase.yml +++ b/.gitea/workflows/relase.yml @@ -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 }}