Skip to content

Commit

Permalink
Remove redundant v from the package json version (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
xBATx authored Dec 19, 2022
1 parent 6cf2e26 commit 2b6aecc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ jobs:
export VERSION=$(sed -n -e '/version/ s/.* = *//p' "Cargo.toml" | head -1 | tr -d '"')
# Tee had issue to write to the same file which is used for read so creating a temp package.json file
mv .github/npm/package.json .github/npm/package.json.temp
sed "s/VERSION#TO#REPLACE/v${VERSION}/g" .github/npm/package.json.temp | tee .github/npm/package.json
sed "s/VERSION#TO#REPLACE/${VERSION}/g" .github/npm/package.json.temp | tee .github/npm/package.json
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ".npmrc"
npm publish .github/npm
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "protofetch"
version = "0.0.18"
version = "0.0.19"
edition = "2018"
license = "Apache-2.0"
description = "A source dependency management tool for Protobuf."
Expand Down

0 comments on commit 2b6aecc

Please sign in to comment.