Bump versions
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@welshman/net",
|
"name": "@welshman/net",
|
||||||
"version": "0.0.31",
|
"version": "0.0.32",
|
||||||
"author": "hodlbod",
|
"author": "hodlbod",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"description": "Utilities for connecting with nostr relays.",
|
"description": "Utilities for connecting with nostr relays.",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@welshman/signer",
|
"name": "@welshman/signer",
|
||||||
"version": "0.0.10",
|
"version": "0.0.11",
|
||||||
"author": "hodlbod",
|
"author": "hodlbod",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"description": "A nostr signer implemenation supporting several login methods.",
|
"description": "A nostr signer implemenation supporting several login methods.",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@welshman/util",
|
"name": "@welshman/util",
|
||||||
"version": "0.0.42",
|
"version": "0.0.43",
|
||||||
"author": "hodlbod",
|
"author": "hodlbod",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"description": "A collection of nostr-related utilities.",
|
"description": "A collection of nostr-related utilities.",
|
||||||
|
|||||||
@@ -1,13 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/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
|
for pkg in $(./get_packages.py); do
|
||||||
version=$(sed -nr 's/ +"version": "(.+)",/\1/p' packages/$pkg/package.json)
|
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
|
git tag "$pkg/$version" >/dev/null 2>&1
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user