Skip to content

Commit

Permalink
trying to get version number (#1982)
Browse files Browse the repository at this point in the history
# Summary

# Demo

Add screenshots or flow video

# Release notes

<fixed> 
- Fixed a bug.
</fixed>

<new>
- Added new feature.
</new>

# Ticket

<ticket>
COIOS-
</ticket>
  • Loading branch information
goergisn authored Jan 29, 2025
2 parents 715b11b + 81ea284 commit d178743
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
echo "Source branch was 'release/*'"
fi
VERSION_NUMBER=${SOURCE_BRANCH#release/}
echo "VERSION_NUMBER=$VERSION_NUMBER" >> $GITHUB_ENV
MERGE_COMMIT_SHA=$(jq --raw-output .pull_request.merge_commit_sha "$GITHUB_EVENT_PATH")
echo "MERGE_COMMIT_SHA=$MERGE_COMMIT_SHA" >> $GITHUB_ENV
Expand All @@ -42,8 +45,9 @@ jobs:
- name: Create Release
run: |
echo "Creating Release for Version: ???"
echo "Description: ${{ env.PR_DESCRIPTION }}"
echo "Creating Release for Version: ${{ env.VERSION_NUMBER }}"
echo "Description:"
cat "${{ github.workspace }}/release_notes.md"
echo "The merge commit is: ${{ env.MERGE_COMMIT_SHA }}"
# - name: Draft Release
Expand Down

0 comments on commit d178743

Please sign in to comment.