From 3d1a15abf415f95235fee58ae7605b03219cd93d Mon Sep 17 00:00:00 2001 From: Simeon Zahariev <43317481+Apokalip@users.noreply.github.com> Date: Thu, 26 Jan 2023 17:37:50 +0200 Subject: [PATCH] Release-v1.0.3 (#270) * upgrade proving keys and manta-rs for release Signed-off-by: Apokalip * update scripts gen filepath for ubuntu Signed-off-by: Apokalip * Revert app name change Signed-off-by: Apokalip * Fix versions Signed-off-by: Apokalip * push version to 1.0.3 Signed-off-by: Apokalip Signed-off-by: Apokalip --- .github/workflows/release.yml | 22 +++++++++++----------- CHANGELOG.md | 7 ++----- scripts/gen_filepath.sh | 24 ++++++++++++------------ src/config.rs | 2 +- ui/package.json | 2 +- ui/src-tauri/Cargo.toml | 2 +- ui/src-tauri/tauri.conf.json | 4 ++-- www/src/App.tsx | 6 +++--- 8 files changed, 33 insertions(+), 36 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9aef129b..ef65675f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,32 +24,32 @@ jobs: include: - os: ubuntu-latest os_type: ubuntu - artifact_name: MantaSigner - asset_name: MantaSigner-linux-amd64 + artifact_name: manta-signer + asset_name: manta-signer-linux-amd64 version_suffix: 0 target: linux - os: ubuntu-18.04 os_type: ubuntu - artifact_name: MantaSigner - asset_name: MantaSigner-linux-amd64 + artifact_name: manta-signer + asset_name: manta-signer-linux-amd64 version_suffix: 1 target: linux - os: ubuntu-22.04 os_type: ubuntu - artifact_name: MantaSigner - asset_name: MantaSigner-linux-amd64 + artifact_name: manta-signer + asset_name: manta-signer-linux-amd64 version_suffix: 2 target: linux - os: windows-2019 os_type: windows - artifact_name: MantaSigner - asset_name: MantaSigner-windows + artifact_name: manta-signer + asset_name: manta-signer-windows version_suffix: 2 target: win64 - os: macos-latest os_type: macos - artifact_name: MantaSigner - asset_name: MantaSigner-macos-amd64 + artifact_name: manta-signer + asset_name: manta-signer-macos-amd64 version_suffix: 3 target: darwin steps: @@ -118,7 +118,7 @@ jobs: with: upload_url: ${{ steps.get_release.outputs.upload_url }} asset_path: target/release/bundle/deb/manta-signer_${{ steps.suffixed.outputs.SUFFIXED }}_amd64.deb - asset_name: MantaSigner-${{ matrix.os }}_${{ needs.setup.outputs.release_version }}_amd64.deb + asset_name: manta-signer-${{ matrix.os }}_${{ needs.setup.outputs.release_version }}_amd64.deb asset_content_type: application/binary if: matrix.os_type == 'ubuntu' && github.event_name == 'release' && github.event.action == 'published' - name: Set release vars diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d43a658..9d330ade 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,15 +3,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [1.0.2] 2023-01-25 -No changes - ## [1.0.1] 2023-01-24 ### Added -- [\#261](https://github.com/Manta-Network/manta-signer/pull/261) Bundle Proving Keys with MantaSigner (no download anymore) +- [\#261](https://github.com/Manta-Network/manta-signer/pull/261) Bundle Proving Keys with manta-signer (no download anymore) ### Changed -- [\#252](https://github.com/Manta-Network/manta-signer/pull/252) Change app name to MantaSigner and coloured icons +- [\#252](https://github.com/Manta-Network/manta-signer/pull/252) Change app name to manta-signer and coloured icons ### Deprecated ### Removed diff --git a/scripts/gen_filepath.sh b/scripts/gen_filepath.sh index 1335e195..22c247b5 100755 --- a/scripts/gen_filepath.sh +++ b/scripts/gen_filepath.sh @@ -10,18 +10,18 @@ then echo '::set-output name=RELEASE_UPDATE_SIG::manta-signer-'$2'_'$3'_amd64.AppImage.tar.gz.sig' elif [ "$1" == "windows" ] then - echo '::set-output name=IMAGE::msi/MantaSigner_'$3'_x64_en-US.msi' - echo '::set-output name=IMAGE_UPDATE::msi/MantaSigner_'$3'_x64_en-US.msi.zip' - echo '::set-output name=UPDATE_SIG::msi/MantaSigner_'$3'_x64_en-US.msi.zip.sig' - echo '::set-output name=RELEASE_IMAGE::MantaSigner-'$2'_'$3'_x64.msi' - echo '::set-output name=RELEASE_IMAGE_UPDATE::MantaSigner-'$2'_'$3'_x64.msi.zip' - echo '::set-output name=RELEASE_UPDATE_SIG::MantaSigner-'$2'_'$3'_x64.msi.zip.sig' + echo '::set-output name=IMAGE::msi/manta-signer_'$3'_x64_en-US.msi' + echo '::set-output name=IMAGE_UPDATE::msi/manta-signer_'$3'_x64_en-US.msi.zip' + echo '::set-output name=UPDATE_SIG::msi/manta-signer_'$3'_x64_en-US.msi.zip.sig' + echo '::set-output name=RELEASE_IMAGE::manta-signer-'$2'_'$3'_x64.msi' + echo '::set-output name=RELEASE_IMAGE_UPDATE::manta-signer-'$2'_'$3'_x64.msi.zip' + echo '::set-output name=RELEASE_UPDATE_SIG::manta-signer-'$2'_'$3'_x64.msi.zip.sig' elif [ "$1" == "macos" ] then - echo '::set-output name=IMAGE::dmg/MantaSigner_'$3'_x64.dmg' - echo '::set-output name=IMAGE_UPDATE::macos/MantaSigner.app.tar.gz' - echo '::set-output name=UPDATE_SIG::macos/MantaSigner.app.tar.gz.sig' - echo '::set-output name=RELEASE_IMAGE::MantaSigner-'$2'_'$3'_x64.dmg' - echo '::set-output name=RELEASE_IMAGE_UPDATE::MantaSigner-'$2'_'$3'.app.tar.gz' - echo '::set-output name=RELEASE_UPDATE_SIG::MantaSigner-'$2'_'$3'.app.tar.gz.sig' + echo '::set-output name=IMAGE::dmg/manta-signer_'$3'_x64.dmg' + echo '::set-output name=IMAGE_UPDATE::macos/manta-signer.app.tar.gz' + echo '::set-output name=UPDATE_SIG::macos/manta-signer.app.tar.gz.sig' + echo '::set-output name=RELEASE_IMAGE::manta-signer-'$2'_'$3'_x64.dmg' + echo '::set-output name=RELEASE_IMAGE_UPDATE::manta-signer-'$2'_'$3'.app.tar.gz' + echo '::set-output name=RELEASE_UPDATE_SIG::manta-signer-'$2'_'$3'.app.tar.gz.sig' fi diff --git a/src/config.rs b/src/config.rs index 2fddfb5e..4642b574 100644 --- a/src/config.rs +++ b/src/config.rs @@ -28,7 +28,7 @@ use std::{ use tokio::fs; /// Manta Path Identifier -pub const PATH_IDENTIFIER: &str = "MantaSigner"; +pub const PATH_IDENTIFIER: &str = "manta-signer"; /// Pushes the [`PATH_IDENTIFIER`] to the end of the given `path` if it exists, attaching the file /// `name` afterwards. diff --git a/ui/package.json b/ui/package.json index bb8bb569..5387725f 100644 --- a/ui/package.json +++ b/ui/package.json @@ -1,6 +1,6 @@ { "name": "manta-signer-ui", - "version": "1.0.2", + "version": "1.0.3", "private": true, "dependencies": { "@tauri-apps/api": "1.0.1", diff --git a/ui/src-tauri/Cargo.toml b/ui/src-tauri/Cargo.toml index 83d80bd1..bd0212d0 100644 --- a/ui/src-tauri/Cargo.toml +++ b/ui/src-tauri/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "manta-signer-ui" edition = "2018" -version = "1.0.2" +version = "1.0.3" authors = ["Manta Network "] readme = "README.md" license-file = "LICENSE" diff --git a/ui/src-tauri/tauri.conf.json b/ui/src-tauri/tauri.conf.json index cb7c2bd9..019e08c2 100644 --- a/ui/src-tauri/tauri.conf.json +++ b/ui/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "package": { - "productName": "MantaSigner", - "version": "1.0.2" + "productName": "manta-signer", + "version": "1.0.3" }, "build": { "distDir": "../build", diff --git a/www/src/App.tsx b/www/src/App.tsx index 52f1c9ab..86ca738c 100755 --- a/www/src/App.tsx +++ b/www/src/App.tsx @@ -78,10 +78,10 @@ function App() { onclick="window.fathom.trackGoal('KUBL03QU', 0);" href={ os === 'Mac' - ? 'https://github.com/Manta-Network/manta-signer/releases/download/v1.0.2/MantaSigner-macos-latest_1.0.2-103_x64.dmg' + ? 'https://github.com/Manta-Network/manta-signer/releases/download/v1.0.3/manta-signer-macos-latest_1.0.3-103_x64.dmg' : os === 'Windows' - ? 'https://github.com/Manta-Network/manta-signer/releases/download/v1.0.2/MantaSigner-windows-2019_1.0.2_x64.msi' - : 'https://github.com/Manta-Network/manta-signer/releases/download/v1.0.2/manta-signer-ubuntu-18.04_1.0.2_amd64.deb' + ? 'https://github.com/Manta-Network/manta-signer/releases/download/v1.0.3/manta-signer-windows-2019_1.0.3_x64.msi' + : 'https://github.com/Manta-Network/manta-signer/releases/download/v1.0.3/manta-signer-ubuntu-18.04_1.0.3_amd64.deb' } title={ os === 'Mac'