From 2b6aeccbb16cd0cec377a2cf6368183a562c5ce5 Mon Sep 17 00:00:00 2001 From: Jakub Majak Date: Mon, 19 Dec 2022 16:52:06 +0100 Subject: [PATCH] Remove redundant v from the package json version (#41) --- .github/workflows/release.yml | 2 +- Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4151474..5e928c4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/Cargo.lock b/Cargo.lock index 52ac749..9cff307 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -724,7 +724,7 @@ checksum = "8bccbff07d5ed689c4087d20d7307a52ab6141edeedf487c3876a55b86cf63df" [[package]] name = "protofetch" -version = "0.0.18" +version = "0.0.19" dependencies = [ "clap", "config", diff --git a/Cargo.toml b/Cargo.toml index 9aacdc9..50180f6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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."