Skip to content

Commit bc40836

Browse files
committed
ci: fix canister declaration generation on release pipeline
1 parent 4b3de72 commit bc40836

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.github/workflows/check-commit-messages.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ jobs:
2626
pip install -U Commitizen
2727
2828
- name: Check Commit Messages
29-
run: cz check --rev-range ac8f90b7c45e13e240d6c01a43d191b99f1aec4a..HEAD
29+
run: cz check --rev-range 4b3de72e9b2a1ea5b700851c25db6f42cb55e8fa..HEAD

.github/workflows/create-release-pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Create Pull Request
4949
uses: peter-evans/create-pull-request@v4
5050
with:
51-
title: 'Release ${{ steps.cz.outputs.version }}'
51+
title: 'chore: release ${{ steps.cz.outputs.version }}'
5252
body: |
5353
After merging this PR, tag the merge commit with:
5454
```shell

.github/workflows/release.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,8 @@ jobs:
3232
- name: Install wasm-pack
3333
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
3434

35-
- name: DFX prepare Certified Counter
36-
working-directory: examples/certification/certified-counter
37-
run: |
38-
dfx canister create --all
39-
dfx generate backend
35+
- name: Generate canister declarations
36+
run: dfx generate
4037

4138
- name: Build NPM packages
4239
run: pnpm build

0 commit comments

Comments
 (0)