Skip to content

Commit

Permalink
ci: update release job
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabiopf02 committed Apr 25, 2023
1 parent 181a818 commit 2115f93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,12 @@ jobs:
id: commit_messages
run: |
previous_tag=$(git describe --abbrev=0 --tags `git rev-list --tags --skip=1 --max-count=1`)
last_release_commit=$(git rev-list -n 1 $previous_tag)
echo $previous_tag
echo $github.ref
echo $last_release_commit
messages=$(git log --format='- %h - %s (%an)%n' ${previous_tag}..${{ github.ref }})
messages=$(git log --pretty=format:'- %h - %s (%an)%n' $last_release_commit..HEAD)
echo "::set-output name=messages::$messages"
- name: Create release
uses: actions/create-release@v1
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
"files": [
"dist/**/*"
],
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
Expand Down

0 comments on commit 2115f93

Please sign in to comment.