fix: automatically determine current fedora version during build
This fixes the issue where someone specifies `fedora-version: latest`, which won't be known until build-time. I also added a small "welcome" banner to the build log. It's really just there to retain a somewhat contrived use-case example for how to use `get_yaml_string()`, for other programmers who want to extend this in the future.
This commit is contained in:
@@ -29,8 +29,8 @@ scripts:
|
||||
rpm:
|
||||
# A list of urls of ".repo" files that should be added to your system.
|
||||
# This is the proper way to add custom COPR repos to your image.
|
||||
# Tip: Use `%FEDORA_VERSION%` instead of static Fedora version numbers, so that
|
||||
# your repos automatically use the Fedora version defined in `fedora-version`,
|
||||
# Tip: Use `%FEDORA_VERSION%` instead of static Fedora version numbers,
|
||||
# so that your repos automatically use your image's actual Fedora version,
|
||||
# which greatly simplifies future maintenance of your custom recipe.
|
||||
repos:
|
||||
# Example (which also demonstrates version number expansion):
|
||||
|
||||
Reference in New Issue
Block a user