Skip to content

Commit

Permalink
new build script
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Apr 4, 2021
1 parent bd16203 commit c7eaabb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json.orig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"repository": "[email protected]:tomasbjerre/violation-comments-to-bitbucket-cloud-command-line.git",
"main": "index.js",
"preferGlobal": true,
"version": "VERSION.0",
"version": "VERSION",
"jdeploy": {"jar": "build/libs/violation-comments-to-bitbucket-cloud-command-line-VERSION.jar"},
"dependencies": {"shelljs": "^0.7.5"},
"license": "Apache 2",
Expand Down
2 changes: 1 addition & 1 deletion publish-npm.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
sudo rm -rf jdeploy-bundle
version=`awk 'NF>1{print $NF}' gradle.properties`
version=`cat gradle.properties | grep version | cut -d'=' -f2`
echo "Version is: \"$version\""
rm -rf package.json
cp package.json.orig package.json
Expand Down

0 comments on commit c7eaabb

Please sign in to comment.