Skip to content

Commit 3d42cac

Browse files
committed
chore: draft then publish
1 parent 374ba40 commit 3d42cac

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
needs: check
2222
if: needs.check.outputs.changed == 'true'
2323
outputs:
24-
upload_url: ${{ steps.release.outputs.upload_url }}
24+
id: ${{ steps.release.outputs.id }}
2525
steps:
2626
- name: Checkout repository
2727
uses: actions/checkout@v2
@@ -38,6 +38,7 @@ jobs:
3838
tag_name: ${{ needs.check.outputs.version }}
3939
commit: ${{ needs.check.outputs.commit }}
4040
body: ${{ steps.changelog.outputs.changes }}
41+
draft: true
4142
env:
4243
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4344
id: release
@@ -64,4 +65,13 @@ jobs:
6465
- name: Build and Publish
6566
run: npm run dist
6667
env:
67-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
69+
publish-release:
70+
needs: [release, build]
71+
runs-on: ubuntu-latest
72+
steps:
73+
- uses: eregon/publish-release@v1
74+
env:
75+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
76+
with:
77+
release_id: ${{ needs.release.outputs.id }}

changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# UnderScript App Changelog
22

3-
## Version 1.1.4 (2020-12-25)
3+
## Version 1.1.5 (2020-12-25)
44
1. Start app on login page
55

66
## Version 1.1.0 (2020-12-24)

0 commit comments

Comments
 (0)