Skip to content

Commit

Permalink
base: Tweak versioning to conform to new spec
Browse files Browse the repository at this point in the history
In coreos/fedora-coreos-tracker#81, we agreed
on a versioning scheme for releases. This patch changes
`automatic-version-prefix` to respect this.

Note that it's not a perfect fit, since e.g. the first build doesn't
have a `.0` prefix.

In actuality, versioning in the pipeline will be driven by an external
process, and thus the scheme embedded here will have no effect (unless
we decide to use rpm-ostree itself as part of the external process...
though it'll need some tweaking first).

So really, this is more for the benefit of local developers so that
versioning looks similar to release builds.
  • Loading branch information
jlebon committed Jul 12, 2019
1 parent f234352 commit 8e5bfb3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fedora-coreos-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ initramfs-args:
machineid-compat: false

releasever: "30"
automatic-version-prefix: "30"
mutate-os-release: "30"
automatic-version-prefix: "${releasever}.<date:%Y%m%d>"
mutate-os-release: "${releasever}"

# Be minimal
recommends: false

Expand Down

0 comments on commit 8e5bfb3

Please sign in to comment.