Skip to content

Commit

Permalink
Fix deployment of tag next
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi authored and Mytherin committed Jan 30, 2024
1 parent 6e7b603 commit dff0054
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion scripts/build_duckdb_badge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ BADGEGEN=${PROJECT_ROOT}/node_modules/.bin/badge
cd ${PROJECT_ROOT}/submodules/duckdb
VERSION=`git describe --tags --abbrev=0 | tr -d "v"`
DEV=`git describe --tags --long | cut -f2 -d-`
TAG=''

BADGE_LABEL_COLOR="#555"
BADGE_VALUE_COLOR="#007ec6"
Expand Down
2 changes: 1 addition & 1 deletion scripts/npm_publish_lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ cp ${PROJECT_ROOT}/misc/duckdb.svg ./dist/img/duckdb.svg
cp ${PROJECT_ROOT}/misc/duckdb_wasm.svg ./dist/img/duckdb_wasm.svg
${PROJECT_ROOT}/scripts/build_duckdb_badge.sh > ./dist/img/duckdb_version_badge.svg

npm publish --ignore-scripts --access public ${TAG}
npm publish --ignore-scripts --access public --tag ${TAG}
2 changes: 1 addition & 1 deletion scripts/npm_publish_react.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ mkdir -p ./dist/img
cp ${PROJECT_ROOT}/misc/duckdb_wasm.svg ./dist/img/duckdb_wasm.svg
${PROJECT_ROOT}/scripts/build_duckdb_badge.sh > ./dist/img/duckdb_version_badge.svg

npm publish --ignore-scripts --access public ${TAG}
npm publish --ignore-scripts --access public --tag ${TAG}
2 changes: 1 addition & 1 deletion scripts/npm_publish_shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ mkdir -p ./dist/img
cp ${PROJECT_ROOT}/misc/duckdb_wasm.svg ./dist/img/duckdb_wasm.svg
${PROJECT_ROOT}/scripts/build_duckdb_badge.sh > ./dist/img/duckdb_version_badge.svg

npm publish --ignore-scripts --access public ${TAG}
npm publish --ignore-scripts --access public --tag ${TAG}
1 change: 0 additions & 1 deletion scripts/npm_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ PROJECT_ROOT="$(cd $(dirname "$BASH_SOURCE[0]") && cd .. && pwd)" &> /dev/null
git describe --tags --long
export VERSION=`git describe --tags --abbrev=0 | tr -d "v"`
export DEV=`git describe --tags --long | cut -f2 -d-`
export TAG=''
echo "VERSION=${VERSION}"
echo "DEV=${DEV}"

Expand Down

0 comments on commit dff0054

Please # to comment.