We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e06ae4 commit 2b5acd0Copy full SHA for 2b5acd0
.github/workflows/build.yml
@@ -71,8 +71,15 @@ jobs:
71
tagFormat: v${version}-beta
72
id: version_check
73
74
+ - name: Find and Replace
75
+ uses: shitiomatic/str-replace@master
76
+ with:
77
+ find: "${version}"
78
+ replace: "${version}-beta"
79
+ include: "Cargo.toml"
80
+
81
- name: Publish Release
82
uses: actions-rs/cargo@v1
83
with:
- command: sed -i -e 's/${version}/${version}-beta/g' /tmp/file.txt && cargo publish --token ${{ secrets.CRATES_IO_TOKEN }} --allow-dirty --dry-run
84
+ command: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }} --allow-dirty --dry-run
85
0 commit comments