Skip to content

Commit

Permalink
bug fix for release workflow (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgadsden committed Apr 11, 2024
1 parent 445bb18 commit 6abad78
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,16 @@ on:
jobs:
create_release:
name: Release pull-request

runs-on: ubuntu-22.04
env:
GH_TAG: ${{ env.GITHUB_REF_NAME }}

steps:
- name: Checkout markdown
uses: actions/[email protected]

- name: Promote draft to release
run: |
echo "GITHUB_WORKFLOW: ${GITHUB_WORKFLOW}"
echo "GITHUB_REF_NAME: ${GITHUB_REF_NAME}"
cd draft
pwd
find . -name "*.md" ! -name "info.md" -exec cp '{}' '../release/{}' \;
Expand Down Expand Up @@ -88,16 +87,16 @@ jobs:
uses: peter-evans/[email protected]
with:
title: |
Release of Developer Guide version ${{ env.GH_TAG }}
Release ${{ github.ref_name }} of Developer Guide
body: |
**Summary** :
Pull request automatically generated for the latest release version
**Description for the changelog** :
release of version ${{ env.GH_TAG }}
release of version ${{ github.ref_name }}
**Other info** :
Please verify and then merge the pull request to update the release
commit-message: update for release version ${{ env.GH_TAG }}
commit-message: update to release version ${{ github.ref_name }}
branch: update-release
base: main

0 comments on commit 6abad78

Please sign in to comment.