Skip to content

Commit

Permalink
[Internal] Add Release tag (#3748)
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorcast-db authored Jul 9, 2024
1 parent c16345e commit 47b84b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .codegen/changelog_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@ change_types:
tag: "[Dependency]"
- message: Exporter
tag: "[Exporter]"
# Does not appear in the Changelog. Only for PR validation.
- message: Release
tag: "[Release]"
# Default for messages without a tag
- message: Other Changes
6 changes: 3 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ jobs:
- name: Validate Tag
run: |
TAG=$(echo ${{ github.event.pull_request.title }} | sed -ne 's/\[\(.*\)\].*/\1/p')
if grep -q "tag: \"[$TAG]\"" .codegen/changelog_config.yml; then
if grep -q "tag: \"\[$TAG\]\"" .codegen/changelog_config.yml; then
echo "Valid tag found: [$TAG]"
else
echo "Invalid or missing tag in commit message: [$TAG]"
exit 1
else
echo "Valid tag found: [$TAG]"
fi

0 comments on commit 47b84b5

Please sign in to comment.