Skip to content

Commit

Permalink
update .github/actions
Browse files Browse the repository at this point in the history
  • Loading branch information
cbarbian-sap committed Jul 6, 2023
1 parent ba1d4a1 commit 59d113e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/get-highest-tag/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: build
.PHONY: build
build:
npm ci
ncc build src/index.js --license licenses.txt
Expand Down
3 changes: 3 additions & 0 deletions .github/actions/get-highest-tag/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18516,6 +18516,9 @@ async function run () {
versions = (await git.listRemote(['--tags']))
.trimEnd()
.split('\n')
.filter(line => {
return line.trim().length > 0
})
.map(line => {
return line.match(/^.*refs\/tags\/(.+)$/)[1]
})
Expand Down
3 changes: 3 additions & 0 deletions .github/actions/get-highest-tag/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ async function run () {
versions = (await git.listRemote(['--tags']))
.trimEnd()
.split('\n')
.filter(line => {
return line.trim().length > 0
})
.map(line => {
return line.match(/^.*refs\/tags\/(.+)$/)[1]
})
Expand Down

0 comments on commit 59d113e

Please sign in to comment.