Skip to content

Commit

Permalink
Update version to 0.3.0-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
danwag06 committed Oct 8, 2023
1 parent 5270253 commit a51a368
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 5 deletions.
35 changes: 35 additions & 0 deletions .panda-release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/bin/bash

if [ "$#" -ne 1 ]; then
echo "Usage: release.sh <version>"
exit 1
fi

VERSION="$1"
ZIP_FILE="public/builds/pw-${VERSION}.zip"
CHECKSUM_FILE="public/builds/pw-${VERSION}.256"
MANIFEST_FILE="public/manifest.json"

# Step 1: Add changes to Git
git add .

# Step 2: Commit the changes
git commit -m "Update version to $VERSION"

# Step 3: Tag the new commit
git tag "$VERSION"

# Step 4: Push changes and tags to remote
git push origin main --tags

# Step 5: Gather commit messages since the last version update
RELEASE_NOTES="Release $VERSION\n\nChangelog:\n"
LAST_VERSION_UPDATE_COMMIT=$(git log --grep='Update version to' --format=format:"%H" | awk 'NR==2{print $1}')
if [ -n "$LAST_VERSION_UPDATE_COMMIT" ]; then
RELEASE_NOTES+=$(git log --pretty=format:"- %s" "${LAST_VERSION_UPDATE_COMMIT}..HEAD")
else
RELEASE_NOTES+="No previous version update found."
fi

# Step 6: Create a GitHub release draft
gh release create "$VERSION" "$ZIP_FILE" --draft --title "Release $VERSION" --notes "$RELEASE_NOTES"
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

Alpha Version: 0.2.4
Version: 0.3.0-alpha

# Panda Wallet | Non-Custodial Web3 Wallet For BSV

Expand All @@ -20,12 +20,12 @@ Panda Wallet is an open-source and non-custodial web3 wallet for Bitcoin SV (BSV

The alpha version of the wallet is open and available to all users. While it has been tested, it is still new software so use at your own risk. The plan once out of alpha/beta is to launch on the Google Chrome Store.

1. **Download:** First you will need to <a id="raw-url" href="https://github.com/Panda-Wallet/panda-wallet/raw/main/public/builds/pw-0.2.4.zip" download="panda-wallet-0.2.4.zip">Download The Current Build</a>
1. **Download:** First you will need to <a id="raw-url" href="https://github.com/Panda-Wallet/panda-wallet/raw/main/public/builds/pw-0.3.0-alpha.zip" download="panda-wallet-0.3.0-alpha.zip">Download The Current Build</a>
. \*\*Always double check that you are at the official Panda Wallet github repo before downloading anything. https://github.com/Panda-Wallet/panda-wallet.

**SHA256 Checksum:** For extra security you can check the checksum:

`6bbbf91bd0b25673d8bb64c262594876dc6c622b5885b65f764faa07bb6df4cd`
`8bd7f25b8d214bc7ef025d3719ad91723447ca96087456c0ba6c02e3f40027c5`

Files can also be found in `public/builds`

Expand Down
1 change: 0 additions & 1 deletion public/builds/pw-0.2.4.256

This file was deleted.

Binary file removed public/builds/pw-0.2.4.zip
Binary file not shown.
1 change: 1 addition & 0 deletions public/builds/pw-0.3.0-alpha.256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8bd7f25b8d214bc7ef025d3719ad91723447ca96087456c0ba6c02e3f40027c5 public/builds/pw-0.3.0-alpha.zip
Binary file added public/builds/pw-0.3.0-alpha.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.2.4",
"version": "0.3.0-alpha",
"manifest_version": 3,
"name": "Panda Wallet",
"description": "A non-custodial and open-source wallet for BSV and 1Sat Ordinals",
Expand Down

0 comments on commit a51a368

Please sign in to comment.