Skip to content

Commit

Permalink
fix: reduced to just tag, saving notes for future release with testing (
Browse files Browse the repository at this point in the history
  • Loading branch information
seanwessmith authored Aug 16, 2024
1 parent 8fd440a commit 848c56d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
title: MyReleaseMessage
tag: MyTag
```
## Mandatory Arguments
Expand All @@ -35,6 +36,9 @@ jobs:
### workdir
`workdir` can be used to specify a directory that contains the repository to be published.

### tag
`tag` can be used to set the tag of the release

## Notes

`${{ secrets.GITHUB_TOKEN }}` can be used for publishing, if you configure the correct permissions.
Expand Down
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ runs:
env:
INPUT_TITLE: ${{ inputs.title }}
INPUT_WORKDIR: ${{ inputs.workdir }}
INPUT_TAG: ${{ inputs.tag }}
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ if [ ! -z "${INPUT_WORKDIR}" ]; then
cd "${INPUT_WORKDIR}"
fi

gh release create -t "${INPUT_TITLE}" "$(date +%Y%m%d%H%M%S)" --generate-notes
gh release create $INPUT_TAG -t "${INPUT_TITLE}" "$(date +%Y%m%d%H%M%S)" --generate-notes

0 comments on commit 848c56d

Please sign in to comment.