File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2828 - name : Publish Crates
2929 env :
3030 CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
31- PATCH : ${{ github.run_number }}
31+ RUN_NUMBER : ${{ github.run_number }}
3232 shell : bash
3333 run : |
3434 git config --global user.email "runner@gha.local"
5353 # Remove library crates from the workspaces so we don't auto-publish them as well
5454 sed -i 's/ "lib\/\*",//' ./Cargo.toml
5555 find crates/rust-analyzer -type f -name '*.rs' -exec sed -i 's/rust_analyzer/ra_ap_rust_analyzer/g' {} +
56- cargo workspaces publish --yes --force '*' --exact --no-git-commit --allow-dirty --skip-published custom 0.0.$PATCH
56+ cargo workspaces publish --yes --force '*' --exact --no-git-commit --allow-dirty --skip-published custom 0.0.$(($RUN_NUMBER + 133))
You can’t perform that action at this time.
0 commit comments