Skip to content

Commit 2b6aecc

Browse files
authored
Remove redundant v from the package json version (#41)
1 parent 6cf2e26 commit 2b6aecc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ jobs:
170170
export VERSION=$(sed -n -e '/version/ s/.* = *//p' "Cargo.toml" | head -1 | tr -d '"')
171171
# Tee had issue to write to the same file which is used for read so creating a temp package.json file
172172
mv .github/npm/package.json .github/npm/package.json.temp
173-
sed "s/VERSION#TO#REPLACE/v${VERSION}/g" .github/npm/package.json.temp | tee .github/npm/package.json
173+
sed "s/VERSION#TO#REPLACE/${VERSION}/g" .github/npm/package.json.temp | tee .github/npm/package.json
174174
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ".npmrc"
175175
npm publish .github/npm
176176

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "protofetch"
3-
version = "0.0.18"
3+
version = "0.0.19"
44
edition = "2018"
55
license = "Apache-2.0"
66
description = "A source dependency management tool for Protobuf."

0 commit comments

Comments
 (0)