Skip to content

Commit

Permalink
MARP-1053 Update release drafter workflows for branch release/10.0 > …
Browse files Browse the repository at this point in the history
…Try out
  • Loading branch information
lttung-axonivy committed Jan 14, 2025
1 parent a9cba5b commit fa83353
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/market-release-drafter-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@ jobs:
steps:
- name: Configure Release Draft Settings
run: |
if [[ "$GITHUB_REF_NAME" = *release/* ]]; then
echo "$GITHUB_REF_NAME"
echo "$DRAFTER_NAME"
echo $GITHUB_REF_NAME
echo "DRAFTER_NAME=Next Release $RELEASE_VERSION 🛒" >> $GITHUB_ENV
if [[ "$GITHUB_REF_NAME" = release/* ]]; then
RELEASE_VERSION="${GITHUB_REF_NAME#release/}"
echo "DRAFTER_NAME=Next Release $RELEASE_VERSION 🛒" >> $GITHUB_ENV
echo "DRAFTER_TAG=next-$RELEASE_VERSION" >> $GITHUB_ENV
Expand All @@ -27,11 +33,11 @@ jobs:
echo $github.ref
fi
- uses: release-drafter/release-drafter@v6
with:
name: ${{ env.DRAFTER_NAME }}
tag: ${{ env.DRAFTER_TAG }}
commitish: "refs/heads/release/10.0"
# - uses: release-drafter/release-drafter@v6
# with:
# name: ${{ env.DRAFTER_NAME }}
# tag: ${{ env.DRAFTER_TAG }}
# commitish: "refs/heads/release/10.0"

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit fa83353

Please sign in to comment.