Skip to content

Commit

Permalink
Fix cargo pkgid invocation in release command
Browse files Browse the repository at this point in the history
  • Loading branch information
cburgdorf committed Jul 1, 2021
1 parent 5df2f51 commit 7c08919
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build-website:
cp -r website/ target/

# Fill version marker with current version
sed -i "s/{{FE_VERSION}}/$$(cd crates/fe && cargo pkgid | cut -d# -f2 | cut -d: -f2)/g" target/website/index.html
sed -i "s/{{FE_VERSION}}/$$(cargo pkgid fe | cut -d# -f2 | cut -d: -f2)/g" target/website/index.html

# Generate the compiler API docs
cargo doc --no-deps --workspace
Expand Down Expand Up @@ -108,6 +108,6 @@ push-tag:
# Run `make release <version>` first
./newsfragments/validate_files.py is-empty
# Tag the release with the current version number
git tag "v$$(cargo pkgid | cut -d# -f2 | cut -d: -f2)"
git tag "v$$(cargo pkgid fe | cut -d# -f2 | cut -d: -f2)"
git push --tags upstream master

0 comments on commit 7c08919

Please sign in to comment.