File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ run-name: "${{ format('release {0}', inputs.bump) }}"
44on :
55 push :
66 branches :
7+ - ci
78 - dev
89 - snapshot-*
910 workflow_dispatch :
3536 steps :
3637 - uses : actions/checkout@v3
3738 with :
38- fetch-depth : 0
39+ fetch-depth : 1
3940 - uses : ./.github/actions/setup-bun
4041 - id : version
4142 run : |
5657 steps :
5758 - uses : actions/checkout@v3
5859 with :
59- fetch-depth : 0
60-
61- - run : git fetch --force --tags
60+ fetch-depth : 1
61+ fetch-tags : true
6262
6363 - uses : ./.github/actions/setup-bun
6464
@@ -102,7 +102,8 @@ jobs:
102102 steps :
103103 - uses : actions/checkout@v3
104104 with :
105- fetch-depth : 0
105+ fetch-depth : 1
106+ fetch-tags : true
106107
107108 - uses : apple-actions/import-codesign-certs@v2
108109 if : ${{ runner.os == 'macOS' }}
@@ -124,8 +125,6 @@ jobs:
124125 run : |
125126 echo "${{ secrets.APPLE_API_KEY_PATH }}" > $RUNNER_TEMP/apple-api-key.p8
126127
127- - run : git fetch --force --tags
128-
129128 - uses : ./.github/actions/setup-bun
130129
131130 - name : install dependencies (ubuntu only)
@@ -201,7 +200,7 @@ jobs:
201200 steps :
202201 - uses : actions/checkout@v3
203202 with :
204- fetch-depth : 0
203+ fetch-depth : 1
205204
206205 - name : Install OpenCode
207206 if : inputs.bump || inputs.version
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ if (Script.release) {
6767 await $ `git cherry-pick HEAD..origin/dev` . nothrow ( )
6868 await $ `git push origin HEAD --tags --no-verify --force-with-lease`
6969 await new Promise ( ( resolve ) => setTimeout ( resolve , 5_000 ) )
70- await $ `gh release edit v${ Script . version } --title "v${ Script . version } " --notes ${ notes . join ( "\n" ) || "No notable changes" } `
70+ await $ `gh release edit v${ Script . version } --draft=false -- title "v${ Script . version } " --notes ${ notes . join ( "\n" ) || "No notable changes" } `
7171}
7272
7373console . log ( "\n=== cli ===\n" )
You can’t perform that action at this time.
0 commit comments