mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 10:27:00 +02:00
Merge pull request #1425 from flatcar-linux/dongsu/github-actions-cacerts-versiondelim
.github: fix version delimiter of ca-certs workflow for main
This commit is contained in:
commit
3377a02796
@ -15,7 +15,7 @@ jobs:
|
|||||||
id: fetch-latest-release
|
id: fetch-latest-release
|
||||||
run: |
|
run: |
|
||||||
git clone --depth=1 --no-checkout https://github.com/nss-dev/nss
|
git clone --depth=1 --no-checkout https://github.com/nss-dev/nss
|
||||||
versionMain=$(git -C nss ls-remote --tags origin | cut -f2 | sed -n "s/refs\/tags\/NSS_\([0-9]_[0-9_]*\).*_RTM$/\1/p" | sort -s -t_ -k1,1 -k2,2n -k3,3n | tail -n1)
|
versionMain=$(git -C nss ls-remote --tags origin | cut -f2 | sed -n "s/refs\/tags\/NSS_\([0-9]_[0-9_]*\).*_RTM$/\1/p" | sort -s -t_ -k1,1 -k2,2n -k3,3n | tr '_' '.' | tail -n1)
|
||||||
rm -rf nss
|
rm -rf nss
|
||||||
echo ::set-output name=BASE_BRANCH_MAIN::main
|
echo ::set-output name=BASE_BRANCH_MAIN::main
|
||||||
echo ::set-output name=VERSION_MAIN::$(echo ${versionMain})
|
echo ::set-output name=VERSION_MAIN::$(echo ${versionMain})
|
||||||
|
Loading…
Reference in New Issue
Block a user