Bump versions

This commit is contained in:
Jon Staab
2024-11-02 07:33:05 -07:00
parent fd0e710672
commit ff7340f326
4 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -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.",
+1 -1
View File
@@ -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.",
+1 -1
View File
@@ -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.",
+7 -6
View File
@@ -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