Skip to content

Commit

Permalink
Don't --locked the prepare_release and allow npm version to NOP
Browse files Browse the repository at this point in the history
  • Loading branch information
faern committed Oct 11, 2019
1 parent 9d46865 commit f9b13ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prepare_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ echo "Updating version in metadata files..."

echo "Syncing Cargo.lock with new version numbers"
source env.sh ""
cargo +stable --locked build
cargo +stable build

echo "Commiting metadata changes to git..."
git commit -S -m "Updating version in package files" \
Expand Down
2 changes: 1 addition & 1 deletion version_metadata.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ case "$1" in
# Electron GUI
cp gui/package.json gui/package.json.bak
cp gui/package-lock.json gui/package-lock.json.bak
(cd gui/ && npm version $SEMVER_VERSION --no-git-tag-version)
(cd gui/ && npm version $SEMVER_VERSION --no-git-tag-version --allow-same-version)

# Rust crates
sed -i.bak -Ee "s/^version = \"[^\"]+\"\$/version = \"$SEMVER_VERSION\"/g" \
Expand Down

0 comments on commit f9b13ac

Please sign in to comment.