mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 13:06:59 +02:00
Merge 95f036d9f7
into 5cc0d8c40c
This commit is contained in:
commit
8f9ed1ec78
@ -7,7 +7,9 @@ EGIT_REPO_URI="https://github.com/flatcar/flatcar-dev-util.git"
|
|||||||
if [[ "${PV}" == 9999 ]]; then
|
if [[ "${PV}" == 9999 ]]; then
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
else
|
else
|
||||||
EGIT_COMMIT="00396595376d8d6a3c4b9251ba94e9de2d7a9e39" # flatcar-master
|
#EGIT_COMMIT="00396595376d8d6a3c4b9251ba94e9de2d7a9e39" # flatcar-master
|
||||||
|
EGIT_COMMIT="cd1b814127e8d8dbe8513ba10195eab70c853579" # flatcar-master
|
||||||
|
EGIT_BRANCH="jepio/fetch-head"
|
||||||
KEYWORDS="amd64 arm arm64 x86"
|
KEYWORDS="amd64 arm arm64 x86"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -55,7 +55,12 @@ function yell() {
|
|||||||
function get_git_version() {
|
function get_git_version() {
|
||||||
local tag="$(git tag --points-at HEAD)"
|
local tag="$(git tag --points-at HEAD)"
|
||||||
if [ -z "$tag" ] ; then
|
if [ -z "$tag" ] ; then
|
||||||
git describe --tags
|
local abbrev=
|
||||||
|
# emerge-gitclone needs the full SHA for external PRs
|
||||||
|
if [ "${GITHUB_ACTIONS:-}" = "true" ]; then
|
||||||
|
abbrev="--abbrev=40"
|
||||||
|
fi
|
||||||
|
git describe --tags ${abbrev}
|
||||||
else
|
else
|
||||||
echo "$tag"
|
echo "$tag"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user