Skip to content

Commit 931e647

Browse files
authored
ci: Revert DIRACCommon dependency pin after creating release
1 parent 2d52fb5 commit 931e647

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/deployment.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ jobs:
125125
if: steps.check-tag.outputs.create-release == 'true'
126126
run: |
127127
set -e
128-
# Revert the pin on DIRACCommon so that future development can continue
129-
git revert HEAD --no-edit
130128
export NEW_VERSION=${{ steps.check-tag.outputs.new-version }}
131129
echo "Pushing tagged release notes to ${GITHUB_REF#refs/heads/}"
132130
git push "origin" "${GITHUB_REF#refs/heads/}"
@@ -137,6 +135,9 @@ jobs:
137135
--version="${NEW_VERSION}" \
138136
--rev="$(git rev-parse HEAD)" \
139137
--release-notes-fn="release.notes.new"
138+
# Revert the pin on DIRACCommon so that future development can continue
139+
git revert HEAD --no-edit
140+
git push
140141
- name: Publish DIRACCommon to PyPI
141142
if: steps.check-tag.outputs.create-release == 'true'
142143
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)