diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 087b818..0b9f10e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,8 @@ on: workflow_dispatch: inputs: version: - description: 'v4.12' + description: 'Version tag (e.g., v4.14)' + default: 'v4.14' required: true type: string @@ -259,8 +260,29 @@ jobs: mv p2pool-salvium_source-v${{ inputs.version }}.tar.xz release/ mv sha256sums.txt release/ - - uses: actions/upload-artifact@v4 + - name: Create GitHub Release + uses: softprops/action-gh-release@v2 with: - name: release-files - path: release/ + tag_name: ${{ inputs.version }} + name: P2Pool Salvium ${{ inputs.version }} + draft: true + prerelease: false + files: release/* + body: | + ## P2Pool Salvium ${{ inputs.version }} + + ### Downloads + | Platform | Architecture | File | + |----------|--------------|------| + | Linux | x64 | `p2pool-salvium-${{ inputs.version }}-linux-x64.tar.gz` | + | Linux | aarch64 | `p2pool-salvium-${{ inputs.version }}-linux-aarch64.tar.gz` | + | Linux | riscv64 | `p2pool-salvium-${{ inputs.version }}-linux-riscv64.tar.gz` | + | macOS | x64 (Intel) | `p2pool-salvium-${{ inputs.version }}-macos-x64.tar.gz` | + | macOS | aarch64 (Apple Silicon) | `p2pool-salvium-${{ inputs.version }}-macos-aarch64.tar.gz` | + | Windows | x64 | `p2pool-salvium-${{ inputs.version }}-windows-x64.zip` | + + ### Verify Downloads + ``` + sha256sum -c sha256sums.txt + ``` diff --git a/README.md b/README.md index 99ccf3e..17ac66f 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Decentralized pool for Salvium mining. Based on [SChernykh's P2Pool](https://git ![C/C++ CI](https://github.com/mxhess/p2pool-salvium/actions/workflows/c-cpp.yml/badge.svg) ![test-sync](https://github.com/mxhess/p2pool-salvium/actions/workflows/test-sync.yml/badge.svg) -![CodeQL](https://github.com/SChernykh/p2pool-salvium/actions/workflows/codeql-analysis.yml/badge.svg) +![CodeQL](https://github.com/mxhess/p2pool-salvium/actions/workflows/codeql-analysis.yml/badge.svg) ![msvc-analysis](https://github.com/mxhess/p2pool-salvium/actions/workflows/msvc-analysis.yml/badge.svg) ![cppcheck](https://github.com/mxhess/p2pool-salvium/actions/workflows/cppcheck.yml/badge.svg) ![clang-tidy](https://github.com/mxhess/p2pool-salvium/actions/workflows/clang-tidy.yml/badge.svg) diff --git a/src/util.h b/src/util.h index 6ba8f43..544a1ca 100644 --- a/src/util.h +++ b/src/util.h @@ -35,7 +35,7 @@ namespace p2pool { #define P2POOL_VERSION_MAJOR 4 -#define P2POOL_VERSION_MINOR 13 +#define P2POOL_VERSION_MINOR 14 #define P2POOL_VERSION_PATCH 0 constexpr uint32_t P2POOL_VERSION = (P2POOL_VERSION_MAJOR << 16) | (P2POOL_VERSION_MINOR << 8) | P2POOL_VERSION_PATCH;