File tree Expand file tree Collapse file tree 5 files changed +20
-20
lines changed Expand file tree Collapse file tree 5 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 17
17
permissions :
18
18
contents : read
19
19
steps :
20
- - uses : inbo/actions/check_pkg@main
20
+ - uses : inbo/actions/check_pkg@checklist-0.3.6
Original file line number Diff line number Diff line change 16
16
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
17
17
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
18
18
steps :
19
- - uses : inbo/actions/check_pkg@main
19
+ - uses : inbo/actions/check_pkg@checklist-0.3.6
Original file line number Diff line number Diff line change 5
5
tags :
6
6
- v*
7
7
workflow_run :
8
- workflows : ["check package on main"]
8
+ workflows : ["check package on main with checklist "]
9
9
types :
10
10
- completed
11
11
12
12
jobs :
13
-
14
- build :
13
+ publish :
15
14
runs-on : ubuntu-latest
16
15
permissions :
17
16
contents : write
18
17
steps :
19
18
- uses : actions/checkout@v3
20
- - name : Get tag message
19
+ - name : Get tag
21
20
run : |
21
+ git fetch --tags --force
22
22
TAG=$(git tag --contains $(git rev-parse HEAD))
23
- TAG_BODY=$(git tag --contains $(git rev-parse HEAD) -n100 | awk '(NR>2)')
24
- echo "TAG=$TAG" >> $GITHUB_OUTPUT
25
- echo "TAG_BODY=$TAG_BODY" >> $GITHUB_OUTPUT
26
- id : tag-body
23
+ TAG_BODY=$(git tag --contains $(git rev-parse HEAD) --format='%(contents)')
24
+ echo "tag=$TAG" >> $GITHUB_ENV
25
+ echo "$TAG_BODY" > body.md
26
+ - run : |
27
+ echo "${{ env.tag }}"
28
+ cat body.md
27
29
- uses : ncipollo/release-action@v1
28
30
with :
29
- name : Release ${{ steps .tag-body.outputs.TAG }}
30
- tag : ${{ steps .tag-body.outputs.TAG }}
31
- body : ${{ steps.tag- body.outputs.TAG_BODY }}
31
+ name : Release ${{ env .tag }}
32
+ tag : ${{ env .tag }}
33
+ bodyFile : body.md
Original file line number Diff line number Diff line change 1
1
cff-version : 1.2.0
2
2
message : If you use this software, please cite it using these metadata.
3
- title : ' territoria: Clustering Observations from Breeding Birds into Territoria'
3
+ title : " territoria: Clustering Observations from Breeding Birds into Territoria"
4
4
authors :
5
5
- given-names : Thierry
6
6
family-names : Onkelinx
18
18
license : GPL-3.0
19
19
repository-code : https://github.com/inbo/territoria/
20
20
type : software
21
- abstract : Clusters individual observations based on breeding indication and distance
22
- between observations.
23
- identifiers :
24
- - type : url
25
- value : []
21
+ abstract : " Clusters individual observations based on breeding indication and distance
22
+ between observations."
26
23
version : 0.0.3
Original file line number Diff line number Diff line change 1
1
# territoria 0.0.3
2
2
3
- * Update [ ` checklist ` ] ( https://inbo.github.io/checklist/ ) machinery
3
+ * Update [ ` checklist ` ] ( https://inbo.github.io/checklist/ ) machinery.
4
+ * Release action works with multiple lines in a message.
4
5
5
6
# territoria 0.0.2
6
7
You can’t perform that action at this time.
0 commit comments