Skip to content

Commit

Permalink
Merge pull request #76 from mdpadberg/67-implement-release-pipeline-a…
Browse files Browse the repository at this point in the history
…nd-split-everything-in-workflows

Implement auto generation of release notes and use workflows #67
  • Loading branch information
mdpadberg authored Nov 22, 2023
2 parents 5e21d97 + 8b1c88b commit e320df8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 53 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ jobs:
uses: Swatinem/rust-cache@v2
with:
shared-key: ${{ matrix.os }}-${{ matrix.rust-target }}
- name: Version bump
shell: bash
run: |
cargo install cargo-edit
cargo set-version ${{ inputs.release-version }}
- name: Build
shell: bash
run: cargo build --release --target ${{ matrix.rust-target }}
Expand Down
12 changes: 1 addition & 11 deletions .github/workflows/ci-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,11 @@ jobs:
name: run integration tests
needs: [call-workflow-clippy]
uses: mdpadberg/multi-cf/.github/workflows/integration-tests.yml@main
call-workflow-version-bump:
name: run version bump
permissions:
contents: write
needs: [call-workflow-unit-tests, call-workflow-integration-tests]
uses: mdpadberg/multi-cf/.github/workflows/version-bump.yml@main
with:
release-version: ${GITHUB_REF#refs/*/}
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
call-workflow-create-release:
name: run create release
permissions:
contents: write
needs: [call-workflow-version-bump]
needs: [call-workflow-unit-tests, call-workflow-integration-tests]
uses: mdpadberg/multi-cf/.github/workflows/create-release.yml@main
with:
release-version: ${GITHUB_REF#refs/*/}
Expand Down
42 changes: 0 additions & 42 deletions .github/workflows/version-bump.yml

This file was deleted.

0 comments on commit e320df8

Please sign in to comment.