Skip to content

Commit 33c9261

Browse files
GH pull request somehow lost all the actual changes, redo
1 parent f451686 commit 33c9261

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

PACKAGE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Publishing New Releases
2+
=======================
3+
4+
First, update the version number throughout the repo and add the tag:
5+
6+
./version.sh X.Y.Z
7+
8+
Verify things have gone well and then push the change and tag:
9+
10+
git commit -a -m "Update version"
11+
git push
12+
git push origin X.Y.Z
13+
14+
GitHub CI Actions are used to automatically build a draft package whenever a tag is pushed to repo.
15+
16+
This will generate a draft release with a bulleted-list of ``git`` changes.
17+
Edit the list and title as desired, then use the ``Publish`` button on the web interface to publish the release

version.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
tmp=$(mktemp)
3+
jq '.version = "'$1'"' ./package.json > "$tmp"
4+
mv "$tmp" ./package.json
5+
git tag $1

0 commit comments

Comments
 (0)