mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-12-15 08:05:19 -05:00
introduce version.txt (#1412)
This commit is contained in:
parent
bdff0d1d08
commit
fe767ba78e
15 changed files with 53 additions and 161 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
rm -f rpm/repo.yaml
|
||||
bazel run //:bazeldnf -- init \
|
||||
--fc 37 \
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
bazel run //:bazeldnf -- fetch \
|
||||
--repofile rpm/repo.yaml
|
||||
bazel run //:bazeldnf -- rpmtree \
|
||||
|
|
@ -13,12 +13,8 @@ ensure_pseudo_version_tool() {
|
|||
}
|
||||
|
||||
pseudo_version() {
|
||||
if [[ -f "${REPOSITORY_ROOT}/.version.txt" ]]; then
|
||||
cat "${REPOSITORY_ROOT}/.version.txt"
|
||||
else
|
||||
ensure_pseudo_version_tool
|
||||
"${REPOSITORY_ROOT}/tools/pseudo-version" -skip-v
|
||||
fi
|
||||
ensure_pseudo_version_tool
|
||||
"${REPOSITORY_ROOT}/tools/pseudo-version" -skip-v
|
||||
}
|
||||
|
||||
timestamp() {
|
||||
Loading…
Add table
Add a link
Reference in a new issue