Skip to content

fix: align versioning and write official firmware version #242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

svenrademakers
Copy link
Collaborator

/etc/os-release will now contain the official version of the turing-pi firmware under the key VERSION.

The version will be determined by git describe --tags and can be overwritten during the build by setting the env var BUILD_VERSION

part of #240

/etc/os-release will now contain the official version of the turing-pi
firmware under the key `VERSION`.

The version will be determined by `git describe --tags` and can be
overwritten during the build by setting the env var `BUILD_VERSION`

part of #240
build_version=$(git describe --tags)
if [[ $? -ne 0 ]]; then
echo "Error: Failed to get version from git describe"
build_vrsion="v2-unknown"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo here

Suggested change
build_vrsion="v2-unknown"
build_version="v2-unknown"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants