@@ -138,25 +138,25 @@ jobs:
138138 NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
139139
140140 # --- Commit manifest changes ---
141- - name : Commit and push updated manifest
142- if : success()
143- env :
144- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
145- run : |
146- git config user.name "github-actions[bot]"
147- git config user.email "github-actions[bot]@users.noreply.github.com"
148- SOURCE_BRANCH="${{ github.event.release.target_commitish }}"
149- if [ -z "$SOURCE_BRANCH" ]; then
150- echo "Could not determine source branch. Exiting."
151- exit 1
152- fi
153- if [[ "$SOURCE_BRANCH" =~ ^[0-9a-f]{40}$ ]]; then
154- echo "Commitish is a SHA, not a branch name. Aborting."
155- exit 1
156- fi
157- git fetch origin "$SOURCE_BRANCH"
158- git switch "$SOURCE_BRANCH"
159- git pull origin "$SOURCE_BRANCH"
160- git add ./PSQuickGraph/*.psd1
161- git commit -m "ci: update module version to ${{ steps.set_version.outputs.version }}" || echo "Nothing to commit"
162- git push origin "$SOURCE_BRANCH"
141+ # - name: Commit and push updated manifest
142+ # if: success()
143+ # env:
144+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
145+ # run: |
146+ # git config user.name "github-actions[bot]"
147+ # git config user.email "github-actions[bot]@users.noreply.github.com"
148+ # SOURCE_BRANCH="${{ github.event.release.target_commitish }}"
149+ # if [ -z "$SOURCE_BRANCH" ]; then
150+ # echo "Could not determine source branch. Exiting."
151+ # exit 1
152+ # fi
153+ # if [[ "$SOURCE_BRANCH" =~ ^[0-9a-f]{40}$ ]]; then
154+ # echo "Commitish is a SHA, not a branch name. Aborting."
155+ # exit 1
156+ # fi
157+ # git fetch origin "$SOURCE_BRANCH"
158+ # git switch "$SOURCE_BRANCH"
159+ # git pull origin "$SOURCE_BRANCH"
160+ # git add ./PSQuickGraph/*.psd1
161+ # git commit -m "ci: update module version to ${{ steps.set_version.outputs.version }}" || echo "Nothing to commit"
162+ # git push origin "$SOURCE_BRANCH"
0 commit comments