Bump versions
This commit is contained in:
@@ -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,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,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.",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user