Skip to content

Commit

Permalink
legacy release comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
ludamad committed Feb 13, 2025
1 parent 0a12119 commit 33849d4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion barretenberg/ts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aztec/bb.js",
"packageManager": "[email protected]",
"version": "0.76.4",
"version": "0.0.0-chonky-charlie.1",
"homepage": "https://github.com/AztecProtocol/aztec-packages/tree/master/barretenberg/ts",
"license": "MIT",
"type": "module",
Expand Down
7 changes: 5 additions & 2 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,12 @@ function release_github {
if gh release view "v$CURRENT_VERSION" &>/dev/null; then
compare_link=$(echo -e "See changes: https://github.com/$repo/compare/${CURRENT_VERSION}...${COMMIT_HASH}")
fi

# Legacy releases. TODO: Eventually remove.
if gh release view "aztec-packages-v$CURRENT_VERSION" &>/dev/null; then
compare_link=$(echo -e "See changes: https://github.com/$repo/compare/aztec-packages-v${CURRENT_VERSION}...${COMMIT_HASH}")
fi
# Ensure we have a commit release.
if [ ${DRY_RUN:-0} = 0 ] && ! gh release view "$REF_NAME" &>/dev/null; then
if ! gh release view "$REF_NAME" &>/dev/null; then
do_or_dryrun gh release create "$REF_NAME" \
--prerelease \
--target $COMMIT_HASH \
Expand Down
4 changes: 2 additions & 2 deletions ci3/deploy_npm
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ done

# Publish.
if [ "$dry_run" -eq 1 ]; then
npm publish --ignore-scripts --dry-run --tag $dist_tag --access public
denoise "npm publish --ignore-scripts --dry-run --tag $dist_tag --access public"
else
# Check if version exists.
if npm view "$package_name@$version" version >/dev/null 2>&1; then
# Tag the existing version.
npm dist-tag add $package_name@$version $dist_tag
else
# Publish new version.
npm publish --ignore-scripts --tag $dist_tag --access public
denoise npm publish --ignore-scripts --tag $dist_tag --access public
fi
fi

0 comments on commit 33849d4

Please sign in to comment.