Skip to content

Commit 8f77e39

Browse files
committed
fix: correct automatic release tagging delay to two weeks
1 parent 8d55a97 commit 8f77e39

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/tag.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
runs-on: ubuntu-latest
1818
outputs:
1919
new-tag: ${{ steps.ccv.outputs.new-tag }}
20-
new-tag-version: ${{steps.ccv.outputs.new-tag-version}}
21-
new-tag-version-type: ${{steps.ccv.outputs.new-tag-version-type}}
22-
recently-tagged: ${{steps.recent-tag.outputs.recently-tagged}}
20+
new-tag-version: ${{ steps.ccv.outputs.new-tag-version }}
21+
new-tag-version-type: ${{ steps.ccv.outputs.new-tag-version-type }}
22+
recently-tagged: ${{ steps.recent-tag.outputs.recently-tagged }}
2323
steps:
2424
- uses: actions/checkout@v5
2525
with:
@@ -47,15 +47,16 @@ jobs:
4747
fi
4848
- name: Bump tag if necessary
4949
id: ccv
50-
uses: smlx/ccv@7318e2f25a52dcd550e75384b84983973251a1f8 # v0.10.0
50+
if: github.event_name != 'schedule' || steps.recent-tag.outputs.recently-tagged != 'true'
51+
uses: smlx/[email protected]
5152
release:
5253
needs: tag
5354
uses: ./.github/workflows/release.yaml
5455
with:
5556
tag_name: ${{ needs.tag.outputs.new-tag-version }}
5657
secrets:
5758
publish_token: ${{ secrets.BCR_PUBLISH_TOKEN }}
58-
if: needs.tag.outputs.new-tag == 'true' && needs.tag.outputs.new-tag-version-type != 'major' && needs.tag.outputs.recently-tagged != 'true'
59+
if: needs.tag.outputs.new-tag == 'true' && needs.tag.outputs.new-tag-version-type != 'major'
5960
permissions:
6061
contents: write
6162
id-token: write

0 commit comments

Comments
 (0)