From ff7340f326697fc14ebe84852729cbcb37f601d4 Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Sat, 2 Nov 2024 07:33:05 -0700 Subject: [PATCH] Bump versions --- packages/net/package.json | 2 +- packages/signer/package.json | 2 +- packages/util/package.json | 2 +- tag.sh | 13 +++++++------ 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/net/package.json b/packages/net/package.json index 192b0d6..7bbe714 100644 --- a/packages/net/package.json +++ b/packages/net/package.json @@ -1,6 +1,6 @@ { "name": "@welshman/net", - "version": "0.0.31", + "version": "0.0.32", "author": "hodlbod", "license": "MIT", "description": "Utilities for connecting with nostr relays.", diff --git a/packages/signer/package.json b/packages/signer/package.json index 6870d86..670b7a1 100644 --- a/packages/signer/package.json +++ b/packages/signer/package.json @@ -1,6 +1,6 @@ { "name": "@welshman/signer", - "version": "0.0.10", + "version": "0.0.11", "author": "hodlbod", "license": "MIT", "description": "A nostr signer implemenation supporting several login methods.", diff --git a/packages/util/package.json b/packages/util/package.json index 7b13ade..214dd2a 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -1,6 +1,6 @@ { "name": "@welshman/util", - "version": "0.0.42", + "version": "0.0.43", "author": "hodlbod", "license": "MIT", "description": "A collection of nostr-related utilities.", diff --git a/tag.sh b/tag.sh index 504dcbf..aade74b 100755 --- a/tag.sh +++ b/tag.sh @@ -1,13 +1,14 @@ #!/bin/bash +status=$(git status | grep "nothing to commit") + +if [[ -z "$status" ]]; then + echo "Can't tag with uncommitted changes" + exit 1 +fi + for pkg in $(./get_packages.py); do version=$(sed -nr 's/ +"version": "(.+)",/\1/p' packages/$pkg/package.json) - status=$(git status | grep "nothing to commit") - - if [[ -z "$status" ]]; then - echo "Can't tag with uncommitted changes" - exit 1 - fi git tag "$pkg/$version" >/dev/null 2>&1 done