Commit 7786785 1 parent ffbebd9 commit 7786785 Copy full SHA for 7786785
File tree 1 file changed +15
-4
lines changed
1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 22
22
uses : taiki-e/install-action@v1
23
23
with :
24
24
tool : cargo-release
25
- - uses : cargo-bins/release-pr@v2
25
+ - name : Update versions
26
+ id : update_versions
27
+ run : |
28
+ cargo release version patch --execute
29
+ cargo update
30
+ NEW_VERSION=$(cargo metadata --no-deps --format-version 1 | jq -rc '.packages[] | select(.name=="worker") | .version')
31
+ echo "version=$NEW_VERSION" >> "$GITHUB_OUTPUT"
32
+ - name : Create Pull Request
33
+ uses : peter-evans/create-pull-request@v6
26
34
with :
27
- github-token : ${{ secrets.GITHUB_TOKEN }}
28
- version : ${{ inputs.level }}
29
- crate-release-all : true
35
+ commit-message : chore: bump versions
36
+ branch : releases/v${{ steps.update_versions.outputs.version }}
37
+ base : main
38
+ title : Release v${{ steps.update_versions.outputs.version }}
39
+ env :
40
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments