diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 98066f2ab..2375f3db2 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -112,6 +112,7 @@ jobs: sign-release: true hash-release: true use-project-version: true + extra-cargo-build-args: "--features self-update" publish-nightly: if: ${{ github.repository_owner == 'rustic-rs' && github.ref == 'refs/heads/main' }} diff --git a/.github/workflows/release-cd.yml b/.github/workflows/release-cd.yml index a5195f723..d9f532f44 100644 --- a/.github/workflows/release-cd.yml +++ b/.github/workflows/release-cd.yml @@ -4,9 +4,9 @@ on: push: tags: # Run on stable releases - - 'v*.*.*' + - "v*.*.*" # Run on release candidates - - 'v*.*.*-rc*' + - "v*.*.*-rc*" defaults: run: @@ -96,7 +96,6 @@ jobs: - name: Checkout repository uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 with: - fetch-depth: 0 # fetch all history so that git describe works - name: Create binary artifact uses: rustic-rs/create-binary-artifact-action@main # dev @@ -118,6 +117,7 @@ jobs: hash-release: true use-project-version: true use-tag-version: true # IMPORTANT: this is being used to make sure the tag that is built is in the archive filename, so automation can download the correct version + extra-cargo-build-args: "--features self-update" create-release: name: Creating release with artifacts