diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ee2bfc9..0bb4e72 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -3,6 +3,11 @@ name: Make Documentation on: push: branches: ["main"] + tags-ignore: + - '**' + release: + types: + - published defaults: run: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 89d7cce..ae7627e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -96,6 +96,14 @@ jobs: with: python-version: 3.x runner: ubuntu-latest + - name: Compile Release Notes + run: make release-notes > release-notes.md + - name: Report Version + run: | + export "RELEASE_VERSION=v$(make report-version)"; + export "TARGET_COMMITISH=$(git rev-list -n 1 "${RELEASE_VERSION}")"; + echo "RELEASE_VERSION=${RELEASE_VERSION}" >> $GITHUB_ENV + echo "TARGET_COMMITISH=${TARGET_COMMITISH}" >> $GITHUB_ENV - name: Download all the dists uses: actions/download-artifact@v4 with: @@ -108,14 +116,6 @@ jobs: inputs: >- ./dist/*.tar.gz ./dist/*.whl - - name: Compile Release Notes - run: make release-notes > release-notes.md - - name: Report Version - run: | - export "RELEASE_VERSION=v$(make report-version)"; - export "TARGET_COMMITISH=$(git rev-list -n 1 "${RELEASE_VERSION}")"; - echo "RELEASE_VERSION=${RELEASE_VERSION}" >> $GITHUB_ENV - echo "TARGET_COMMITISH=${TARGET_COMMITISH}" >> $GITHUB_ENV - name: Create GitHub Release uses: softprops/action-gh-release@v2 with: diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 7704c07..c7d34c0 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -1,6 +1,10 @@ name: Validate on: push: + branches: + - '**' + tags-ignore: + - '**' jobs: ci: