Skip to content

Commit

Permalink
add release script
Browse files Browse the repository at this point in the history
  • Loading branch information
vemonet committed Jul 22, 2023
1 parent 5842e6b commit 3f606dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ Create a new release on GitHub following semantic versioning, e.g. `v1.2.0`
Then update the `v1` tag to the latest commit (`v1` should always be sync to the latest version)

```bash
git tag -fa v1
git push -f origin --tags
npm run release
```

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"fmt": "prettier --write **/*.ts",
"build": "npm run fmt && tsc && ncc build lib/setup-spark.js && ./licensed cache",
"dev": "npm run build && act -j test-setup-spark-scala",
"test": "prettier --check **/*.ts && eslint ./src/**.ts --ignore-path .gitignore && ./licensed status"
"test": "prettier --check **/*.ts && eslint ./src/**.ts --ignore-path .gitignore && ./licensed status",
"release": "git tag -fa v1 -m 'v1' && git push -f origin v1"
},
"repository": {
"type": "git",
Expand Down
14 changes: 0 additions & 14 deletions update_release.sh

This file was deleted.

0 comments on commit 3f606dd

Please sign in to comment.