v0.4.60 - VERSION leesfix (LF)
This commit is contained in:
parent
82f68278f6
commit
7eee8ba8ca
3 changed files with 7 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
id: version
|
||||
run: |
|
||||
set -euo pipefail
|
||||
BASE="$(cat VERSION 2>/dev/null || echo 0.0.0)"
|
||||
BASE="$(tr -d '[:space:]' < VERSION 2>/dev/null || echo 0.0.0)"
|
||||
if [[ "${GITHUB_REF}" == refs/tags/* ]]; then
|
||||
VERSION="${GITHUB_REF_NAME#v}"
|
||||
CHANNEL="release"
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ jobs:
|
|||
id: version
|
||||
run: |
|
||||
set -euo pipefail
|
||||
BASE="$(cat VERSION 2>/dev/null || echo 0.0.0)"
|
||||
BASE="$(tr -d '[:space:]' < VERSION 2>/dev/null || echo 0.0.0)"
|
||||
if [[ "${GITHUB_REF}" == refs/tags/* ]]; then
|
||||
VERSION="${GITHUB_REF_NAME#v}"
|
||||
CHANNEL="release"
|
||||
|
|
|
|||
5
.gitattributes
vendored
Normal file
5
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Houd VERSION en shell/workflow-bestanden op LF, ook op Windows,
|
||||
# zodat de CI ze correct leest.
|
||||
VERSION text eol=lf
|
||||
*.sh text eol=lf
|
||||
*.yml text eol=lf
|
||||
Loading…
Reference in a new issue