Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,18 +109,10 @@ jobs:
- name: Verify File Synchronization
run: cat guest_to_host.txt | grep -q 'guest to host'

- name: Extract Version
id: version
if: startsWith(github.ref, 'refs/tags/v')
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT

- name: Create Release
id: create_release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v2
if: github.ref == 'refs/heads/master'
uses: thought-machine/release-action@master
with:
name: FreeBSD ${{ steps.version.outputs.VERSION }}
draft: true
files: output/*
release-files: output
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Version v0.12.0-please.1
------------------------
* Initial release, based on upstream freebsd-builder v0.12.0
* Only build FreeBSD 14.3 x86-64 image (#2)
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v0.12.0-please.1
9 changes: 9 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ guaranteed to be useful for any other purpose.
## Changes to upstream

* Only the FreeBSD 14.3 x86-64 image is built.

## Release version numbering

Releases are versioned similarly to how they are upstream. Version numbers take the form `vX.Y.Z-please.N`, where:

- `X.Y.Z` is the [upstream release](https://github.com/cross-platform-actions/freebsd-builder/releases) on which this
release is based;
- `N` is a build revision specific to this repo, which is incremented each time a release is created and is reset to 1
whenever the repo is rebased on a newer upstream release.