File tree Expand file tree Collapse file tree 5 files changed +19
-3
lines changed Expand file tree Collapse file tree 5 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 41
41
id : changelog
42
42
uses : TriPSs/conventional-changelog-action@v3
43
43
with :
44
- # github-token: ${{ secrets.github_token }}
44
+ github-token : ${{ secrets.github_token }}
45
45
# output-file: "false"
46
46
skip-commit : " true"
47
47
skip-tag : " true"
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ build-release:
10
10
github-release :
11
11
bin/release
12
12
13
+ github-rerelease :
14
+ bin/rerelease
15
+
13
16
local-release : build-release
14
17
bin/local-release
15
18
Original file line number Diff line number Diff line change @@ -168,7 +168,6 @@ You can hit the API locally for testing using: `http localhost:9029/status`
168
168
- Run the binary manually ` swift run `
169
169
- Copy local config ` cp ./config.json ~/.config/focus/config.json `
170
170
- Generate a new release ` git tag v0.1.3 && git push --tags origin HEAD `
171
- - Delete last tag remotely and locally ` TAG=$(git describe --tags --abbrev=0); git tag -d $TAG; git push --delete origin $TAG `
172
171
173
172
## Tests
174
173
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- cd " ${0%/* } /.." || exit
2
+ set -e
3
+
4
+ cd " ${0%/* } /.."
3
5
4
6
# trunk-ignore(shellcheck/SC2312)
5
7
version=$( git tag --list | tail -n 1)
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -e
3
+
4
+ cd " ${0%/* } /.."
5
+
6
+ # delete last tag remotely and locally
7
+ # useful when trying to get gh action releases to work
8
+ TAG=$( git describe --tags --abbrev=0)
9
+ git tag -d " ${TAG} "
10
+ git push --delete origin " ${TAG} "
11
+
12
+ bin/release
You can’t perform that action at this time.
0 commit comments