Skip to content

Commit

Permalink
Align release process by supporting release-directory (#696)
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck authored Dec 13, 2023
1 parent bb76b6e commit 147104a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/get-release-notes/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Return the release notes extracted from the PR body
# TODO: Remove once the common repo is public.
#
inputs:
version :
version:
required: true
repo_name:
required: false
Expand Down
3 changes: 3 additions & 0 deletions .github/actions/publish-package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ inputs:
required: true
version:
required: true
release-directory:
default: './'

runs:
using: composite
Expand All @@ -29,6 +31,7 @@ runs:

- name: Publish release to NPM
shell: bash
working-directory: ${{ inputs.release-directory }}
run: |
if [[ "${VERSION}" == *"beta"* ]]; then
TAG="beta"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
uses: ./.github/actions/get-prerelease
with:
version: ${{ steps.get_version.outputs.version }}

# Get the release notes
# This will expose the release notes as env.RELEASE_NOTES
- id: get_release_notes
Expand Down

0 comments on commit 147104a

Please sign in to comment.