Skip to content

version pushed to v2.0.31 with BIP39 mnemonics implemented in core #119

version pushed to v2.0.31 with BIP39 mnemonics implemented in core

version pushed to v2.0.31 with BIP39 mnemonics implemented in core #119

# https://github.com/marketplace/actions/docker-compose-run-action
# https://github.com/marketplace/actions/zip-release
# https://github.com/marketplace/actions/gh-release
# https://github.com/marketplace/actions/publish-chrome-extension-to-chrome-web-store
name: Build and publish release
on:
push:
tags:
- "v*.*.*"
env:
IMAGE_LABEL_NAME: layer1dot5
IMAGE_LABEL_APP: utxord-wallet-toolchain
permissions:
contents: write
jobs:
build_publish_release:
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v3
with:
submodules: 'recursive'
set-safe-directory: '*'
-
name: Extract tag value
id: vars
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
# accessible as ${{ steps.vars.outputs.tag }}
# run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
# accessible as $RELEASE_VERSION or ${{ env.RELEASE_VERSION }}
-
name: Build wallet core
run: docker compose run build-wasm-core
-
name: Build UTXORD wallet
run: docker compose run build-wallet-utxord
-
name: Archive versioned release
uses: thedoctor0/[email protected]
if: startsWith(github.ref, 'refs/tags/')
with:
directory: "./browser-extension/extension/prod"
type: 'zip'
filename: ../../../utxord-wallet-${{ steps.vars.outputs.tag }}.zip
-
name: Archive non-versioned release
uses: thedoctor0/[email protected]
if: startsWith(github.ref, 'refs/tags/')
with:
directory: "./browser-extension/extension/prod"
type: 'zip'
filename: ../../../utxord-wallet.zip
-
name: Build QA wallet
run: docker compose run build-wallet-qa
-
name: Archive versioned release
uses: thedoctor0/[email protected]
if: startsWith(github.ref, 'refs/tags/')
with:
directory: "./browser-extension/extension/prod"
type: 'zip'
filename: ../../../utxord-wallet-${{ steps.vars.outputs.tag }}-qa.zip
-
name: Archive non-versioned release
uses: thedoctor0/[email protected]
if: startsWith(github.ref, 'refs/tags/')
with:
directory: "./browser-extension/extension/prod"
type: 'zip'
filename: ../../../utxord-wallet-qa.zip
-
name: Build E2E wallet
run: docker compose run build-wallet-e2e
-
name: Archive versioned release
uses: thedoctor0/[email protected]
if: startsWith(github.ref, 'refs/tags/')
with:
directory: "./browser-extension/extension/prod"
type: 'zip'
filename: ../../../utxord-wallet-${{ steps.vars.outputs.tag }}-e2e.zip
-
name: Archive non-versioned release
uses: thedoctor0/[email protected]
if: startsWith(github.ref, 'refs/tags/')
with:
directory: "./browser-extension/extension/prod"
type: 'zip'
filename: ../../../utxord-wallet-e2e.zip
-
name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
utxord-wallet-${{ steps.vars.outputs.tag }}.zip
utxord-wallet-${{ steps.vars.outputs.tag }}-qa.zip
utxord-wallet-${{ steps.vars.outputs.tag }}-e2e.zip
utxord-wallet.zip
utxord-wallet-qa.zip
utxord-wallet-e2e.zip