Skip to content

Commit

Permalink
11.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanebouget committed Jul 3, 2024
1 parent f9a1efd commit 1cda8c4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"buildNstart": "npm run build-visu && npm-run-all -p electron:serve ng:serve",
"quickbuildNstart": "npm run quickbuild-visu && npm-run-all -p electron:serve ng:serve",
"start": "npm-run-all -p electron:serve ng:serve",
"setTag": "./scripts/tag.sh",
"ng:serve": "ng serve -c web -o",
"setEnv": "node ./scripts/set-env.js",
"build-visu": "cd ../visualization-component && yarn build:webcomponents",
Expand All @@ -49,7 +50,7 @@
"electron:serve": "wait-on tcp:4200 && npm run electron:serve-tsc && electron . --serve",
"electron:local": "npm run build:prod && electron .",
"electron:build": "npm run build:prod && electron-builder build --publish=never",
"version": "conventional-changelog -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
"version": "11.0.7",
"publishReleases": "npm run build-visu && cd ../khiops-visualization-electron && npm run build:prod && electron-builder build --windows --ia32 -p always && electron-builder build --linux -p always && electron-builder build --mac -p always",
"removeDist": "rimraf dist && rimraf release && rimraf .cache",
"removeMocks": "rimraf dist/khiops-visualization/mocks",
Expand Down
19 changes: 19 additions & 0 deletions scripts/tag.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

if [ $# -ne 1 ]; then
echo "Usage: $0 <tag>"
exit 1
fi

TAG=$1

# Replace version into package.json
sed -i "s/\"version\": \".*\"/\"version\": \"$TAG\"/" package.json
sed -i "s/\"version\": \".*\"/\"version\": \"$TAG\"/" ./app/package.json

git add .
git commit -am "$TAG"
git tag v$TAG
git push origin master --tags

# exit 0
# $SHELL

0 comments on commit 1cda8c4

Please sign in to comment.