diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4c430370e..90160d464 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,6 +20,7 @@ jobs: release-artifact: needs: tag runs-on: ubuntu-20.04 + if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'release') steps: - uses: actions/checkout@v3 - name: Quick Setup @@ -32,5 +33,6 @@ jobs: - name: Release artifact uses: softprops/action-gh-release@v1 with: + tag_name: ${{ github.event.pull_request.title }} files: | target/release/maquascope-x86_64-unknown-linux-gnu.tar.gz diff --git a/Cargo.lock b/Cargo.lock index 9330382ca..e6e7baf9b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -163,7 +163,7 @@ dependencies = [ [[package]] name = "aquascope_workspace_utils" -version = "0.3.0" +version = "0.3.1" dependencies = [ "anyhow", "toml 0.5.11", @@ -1289,7 +1289,7 @@ dependencies = [ [[package]] name = "mdbook-aquascope" -version = "0.3.0" +version = "0.3.1" dependencies = [ "anyhow", "aquascope_workspace_utils",