diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7c75d5b..96c2143 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -99,10 +99,10 @@ jobs: key: ${{ runner.os }}-cargo-bin-${{ hashFiles('.github/workflows/release.yml') }} - name: Install cargo-deb if: startsWith(matrix.name, 'linux-') - run: which cargo-deb || cargo install cargo-deb --version 1.30.0 --locked - # - name: Install cargo-generate-rpm - # if: startsWith(matrix.name, 'linux-') - # run: which cargo-generate-rpm || cargo install cargo-generate-rpm --version 0.4.0 --locked + run: which cargo-deb || cargo install cargo-deb --version 1.34.2 --locked + - name: Install cargo-generate-rpm + if: startsWith(matrix.name, 'linux-') + run: which cargo-generate-rpm || cargo install cargo-generate-rpm --version 0.6.0 --locked - uses: actions-rs/toolchain@v1 with: @@ -167,16 +167,16 @@ jobs: version=$(cat VERSION) dst="watchexec-${version}-${{ matrix.target }}" cargo deb -p watchexec-cli --no-build --no-strip --target ${{ matrix.target }} --output "$dst.deb" - # - name: Archive (rpm) - # if: startsWith(matrix.name, 'linux-') - # shell: bash - # run: | - # set -euxo pipefail - # shopt -s globstar - # version=$(cat VERSION) - # dst="watchexec-${version}-${{ matrix.target }}" - # cargo generate-rpm -p cli --target "${{ matrix.target }}" --target-dir "target/${{ matrix.target }}" - # mv target/**/*.rpm "$dst.rpm" + - name: Archive (rpm) + if: startsWith(matrix.name, 'linux-') + shell: bash + run: | + set -euxo pipefail + shopt -s globstar + version=$(cat VERSION) + dst="watchexec-${version}-${{ matrix.target }}" + cargo generate-rpm -p cli --target "${{ matrix.target }}" --target-dir "target/${{ matrix.target }}" + mv target/**/*.rpm "$dst.rpm" - name: Archive (zip) if: startsWith(matrix.name, 'windows-') shell: bash @@ -211,9 +211,9 @@ jobs: key: sign-tools-${{ hashFiles('.github/workflows/release.yml') }} - name: Install rsign2 - run: cargo install rsign2 --version 0.5.7 + run: cargo install rsign2 --force --version 0.6.1 - name: Install b3sum - run: cargo install b3sum --version 0.3.7 + run: cargo install b3sum --force --version 1.3.0 - uses: actions/download-artifact@v2 with: