Skip to content

Commit 2d1d5c7

Browse files
committed
perhaps i do not want to puch version chnages back for now.
1 parent 83ef069 commit 2d1d5c7

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

.github/workflows/publish.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)