introduce version.txt (#1412)

This commit is contained in:
3u13r 2023-03-14 14:53:33 +01:00 committed by GitHub
parent bdff0d1d08
commit fe767ba78e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 53 additions and 161 deletions

View file

@ -1,4 +1,5 @@
#!/bin/sh
#!/usr/bin/env bash
rm -f rpm/repo.yaml
bazel run //:bazeldnf -- init \
--fc 37 \

View file

@ -1,4 +1,5 @@
#!/bin/sh
#!/usr/bin/env bash
bazel run //:bazeldnf -- fetch \
--repofile rpm/repo.yaml
bazel run //:bazeldnf -- rpmtree \

View file

@ -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() {