Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Validate tag pattern
id: validate_tag
run: |
if [[ "${TAG_NAME}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
if [[ "${TAG_NAME}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-rc[0-9]+)?$ ]]; then
echo "TAG_VALID=true" >> $GITHUB_ENV
else
echo "TAG_VALID=false" >> $GITHUB_ENV
Expand Down Expand Up @@ -110,3 +110,12 @@ jobs:
repository: ObolNetwork/dv-launchpad
event-type: update-version
client-payload: '{"tag": "${{ env.TAG_NAME }}"}'

- name: Trigger dispatch for obol-infrastructure
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
if: env.TAG_VALID == 'true'
with:
token: ${{ secrets.OBOL_PLATFORM_PAT }}
repository: ObolNetwork/obol-infrastructure
event-type: update-version
client-payload: '{"tag": "${{ env.TAG_NAME }}"}'
4 changes: 2 additions & 2 deletions .github/workflows/tag-minor-full-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ jobs:
TAG_VERSION="${{ steps.version.outputs.TAG_VERSION }}"
RELEASE_BRANCH="${{ steps.find_branch.outputs.RELEASE_BRANCH }}"

# Create annotated tag
git tag -a "${TAG_VERSION}" -m "Release ${TAG_VERSION}"
# Create tag
git tag "${TAG_VERSION}" -m "Release ${TAG_VERSION}"

# Push tag to remote
git push origin "${TAG_VERSION}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tag-minor-release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ jobs:
run: |
NEW_TAG="${{ steps.latest_rc.outputs.NEW_TAG }}"

# Create annotated tag
git tag -a "$NEW_TAG" -m "Release candidate $NEW_TAG"
# Create tag
git tag "$NEW_TAG" -m "Release candidate $NEW_TAG"

# Push tag
git push origin "$NEW_TAG"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tag-patch-full-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ jobs:
TAG_VERSION="${{ steps.find_patch.outputs.TAG_VERSION }}"
RELEASE_BRANCH="${{ steps.find_branch.outputs.RELEASE_BRANCH }}"

# Create annotated tag
git tag -a "${TAG_VERSION}" -m "Release ${TAG_VERSION}"
# Create tag
git tag "${TAG_VERSION}" -m "Release ${TAG_VERSION}"

# Push tag to remote
git push origin "${TAG_VERSION}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tag-patch-release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ jobs:
run: |
NEW_TAG="${{ steps.latest_rc.outputs.NEW_TAG }}"

# Create annotated tag
git tag -a "$NEW_TAG" -m "Release candidate $NEW_TAG"
# Create tag
git tag "$NEW_TAG" -m "Release candidate $NEW_TAG"

# Push tag
git push origin "$NEW_TAG"
Expand Down
Loading