diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 05fdf30..cd83e5c 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -54,17 +54,30 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - name: Rust version + run: rustup --version - name: Build run: cargo build --release - - name: Archive + - name: Build + run: cargo build + - name: Archive release uses: vimtor/action-zip@v1 with: files: target/release/grin-gui.exe dest: target/release/grin-gui-${{ github.ref_name }}-win-x86_64.zip - - name: Create Checksum + - name: Archive debug + uses: vimtor/action-zip@v1 + with: + files: target/debug/grin-gui.exe + dest: target/debug/grin-gui-${{ github.ref_name }}-win-x86_64-debug.zip + - name: Create Checksum release working-directory: target/release shell: pwsh run: get-filehash -algorithm sha256 grin-gui-${{ github.ref_name }}-win-x86_64.zip | Format-List |  Out-String | ForEach-Object { $_.Trim() } > grin-gui-${{ github.ref_name }}-win-x86_64-sha256sum.txt + - name: Create Checksum debug + working-directory: target/debug + shell: pwsh + run: get-filehash -algorithm sha256 grin-gui-${{ github.ref_name }}-win-x86_64-debug.zip | Format-List |  Out-String | ForEach-Object { $_.Trim() } > grin-gui-${{ github.ref_name }}-win-x86_64-debug-sha256sum.txt - name: Install cargo-wix run: cargo install cargo-wix - name: Run cargo-wix @@ -77,6 +90,8 @@ jobs: uses: softprops/action-gh-release@v1 with: files: | + target/debug/grin-gui-${{ github.ref_name }}-win-x86_64-debug.zip + target/debug/grin-gui-${{ github.ref_name }}-win-x86_64-debug-sha256sum.txt target/release/grin-gui-${{ github.ref_name }}-win-x86_64.zip target/release/grin-gui-${{ github.ref_name }}-win-x86_64-sha256sum.txt target/wix/grin-gui-${{ github.ref_name }}-win-x86_64.msi diff --git a/Cargo.lock b/Cargo.lock index 631d0d2..efe4aba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2414,7 +2414,7 @@ dependencies = [ [[package]] name = "grin-gui" -version = "0.1.0-alpha.2" +version = "0.1.0-alpha.3" dependencies = [ "anyhow", "async-std", @@ -2460,7 +2460,7 @@ dependencies = [ [[package]] name = "grin-gui-core" -version = "0.1.0-alpha.2" +version = "0.1.0-alpha.3" dependencies = [ "async-std", "backtrace", @@ -2517,7 +2517,7 @@ dependencies = [ [[package]] name = "grin-gui-widgets" -version = "0.1.0-alpha.2" +version = "0.1.0-alpha.3" dependencies = [ "iced", "iced_core", diff --git a/Cargo.toml b/Cargo.toml index 4b2ccdd..ccdcfd0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "grin-gui" -version = "0.1.0-alpha.2" +version = "0.1.0-alpha.3" authors = ["Grin Developers "] description = "GUI wrapping grin and grin-wallet. Simple, private and scalable cryptocurrency implementation based on the MimbleWimble chain format." license = "Apache-2.0" @@ -16,8 +16,8 @@ no-self-update = ["grin-gui-core/no-self-update"] debug = ["iced/debug"] [dependencies] -grin-gui-core = { version = "0.1.0-alpha.1", path = "crates/core", features = ["wgpu"]} -grin-gui-widgets = { version = "0.1.0-alpha.1", path = "crates/widgets" } +grin-gui-core = { version = "0.1.0-alpha.3", path = "crates/core", features = ["wgpu"]} +grin-gui-widgets = { version = "0.1.0-alpha.3", path = "crates/widgets" } iced = { version = "0.10", features = ["canvas", "tokio"] } iced_futures = { version = "0.7", features = ["async-std"] } diff --git a/crates/core/Cargo.toml b/crates/core/Cargo.toml index eb8d30c..5b2ec84 100644 --- a/crates/core/Cargo.toml +++ b/crates/core/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "grin-gui-core" description = "Core GUI library for Grin GUI" -version = "0.1.0-alpha.2" +version = "0.1.0-alpha.3" authors = ["Yeastplume", "Casper Rogild Storm"] license = "GPL-3.0" homepage = "https://github.com/mimblewimble/grin-gui" diff --git a/crates/widgets/Cargo.toml b/crates/widgets/Cargo.toml index 0eca56a..f4a94fd 100644 --- a/crates/widgets/Cargo.toml +++ b/crates/widgets/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "grin-gui-widgets" description = "Widget library for Grin Core GUI" -version = "0.1.0-alpha.2" +version = "0.1.0-alpha.3" authors = ["Yeastplume", "Casper Rogild Storm", "tarkah "] license = "GPL-3.0" homepage = "https://github.com/mimblewimble/grin-gui"