git.iko.soy/rowtype-yoga/package-sets
on psc-0.14.2-20210613 help sign in
24 lines 579 B history raw
1#!/usr/bin/env nix-shell
2#!nix-shell -i bash
4set -euxo pipefail
6# Please use this script to cut new releases. It will generate a new tag name
7# based on the current date, update the latest releases file, and push the tag
9# TODO: fail if there's a tag with this same name, as sometimes we publish more than one per day
11LATEST_PURS="0.14.2"
12NEW_TAG="psc-${LATEST_PURS}-`date +'%Y%m%d'`"
14./update-latest-compatible-sets.sh "${NEW_TAG}"
16git add latest-compatible-sets.json
18git commit -m "Update to the latest tag"
20git push
22git tag "${NEW_TAG}"
24git push origin "${NEW_TAG}"