From 33c9261dc30773c8b7e0233b9e10afb652fc8288 Mon Sep 17 00:00:00 2001 From: "Earle F. Philhower, III" Date: Thu, 20 Jun 2024 17:24:37 -0700 Subject: [PATCH] GH pull request somehow lost all the actual changes, redo --- PACKAGE.md | 17 +++++++++++++++++ version.sh | 5 +++++ 2 files changed, 22 insertions(+) create mode 100644 PACKAGE.md create mode 100755 version.sh diff --git a/PACKAGE.md b/PACKAGE.md new file mode 100644 index 0000000..69ca856 --- /dev/null +++ b/PACKAGE.md @@ -0,0 +1,17 @@ +Publishing New Releases +======================= + +First, update the version number throughout the repo and add the tag: + + ./version.sh X.Y.Z + +Verify things have gone well and then push the change and tag: + + git commit -a -m "Update version" + git push + git push origin X.Y.Z + +GitHub CI Actions are used to automatically build a draft package whenever a tag is pushed to repo. + +This will generate a draft release with a bulleted-list of ``git`` changes. +Edit the list and title as desired, then use the ``Publish`` button on the web interface to publish the release diff --git a/version.sh b/version.sh new file mode 100755 index 0000000..70487ae --- /dev/null +++ b/version.sh @@ -0,0 +1,5 @@ +#!/bin/bash +tmp=$(mktemp) +jq '.version = "'$1'"' ./package.json > "$tmp" +mv "$tmp" ./package.json +git tag $1