Skip to content

Commit b65b786

Browse files
authored
Merge pull request #138 from polywrap/dev
prep 0.1.0a21 | /workflows/cd
2 parents 40f6491 + 580e375 commit b65b786

2 files changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/cd.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,11 @@ jobs:
125125
env:
126126
POLYWRAP_BUILD_BOT_PYPI_PAT: ${{ secrets.POLYWRAP_BUILD_BOT_PYPI_PAT }}
127127

128-
- name: Commit Changes
128+
- name: Commit Version Changes
129129
run: |
130130
git add .
131-
git commit -m "chore: patch version to ${{env.RELEASE_VERSION}}"
131+
git commit -m "chore: patch version to ${{env.RELEASE_VERSION}}" --allow-empty
132+
continue-on-error: true
132133

133134
- name: Create Pull Request from dev to main
134135
id: cpr-cd
@@ -138,7 +139,7 @@ jobs:
138139
base: main
139140
committer: GitHub <noreply@github.com>
140141
author: ${{env.BUILD_BOT}} <${{env.BUILD_BOT}}@users.noreply.github.com>
141-
commit-message: "chore: CD ${{env.RELEASE_VERSION}}"
142+
commit-message: "chore: patch version to ${{env.RELEASE_VERSION}}"
142143
title: 'Python client CD (${{env.RELEASE_VERSION}})'
143144
body: |
144145
## Python client CD (${{env.RELEASE_VERSION}})
@@ -170,6 +171,12 @@ jobs:
170171
- name: Link Packages in dev branch
171172
run: python3 scripts/link_packages.py
172173

174+
- name: Commit Linking Changes
175+
run: |
176+
git add .
177+
git commit -m "chore: link dependencies post ${{env.RELEASE_VERSION}} release" --allow-empty
178+
continue-on-error: true
179+
173180
- name: Create Pull Request from main to dev
174181
id: cpr-post-cd
175182
uses: peter-evans/create-pull-request@v3
@@ -178,7 +185,7 @@ jobs:
178185
base: dev
179186
committer: GitHub <noreply@github.com>
180187
author: ${{env.BUILD_BOT}} <${{env.BUILD_BOT}}@users.noreply.github.com>
181-
commit-message: "chore: POST CD ${{env.RELEASE_VERSION}}"
188+
commit-message: "chore: link dependencies post ${{env.RELEASE_VERSION}} release"
182189
title: 'Python client POST CD (${{env.RELEASE_VERSION}})'
183190
body: |
184191
## Python client POST CD (${{env.RELEASE_VERSION}})

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.0a20
1+
0.1.0a21

0 commit comments

Comments
 (0)