-
Notifications
You must be signed in to change notification settings - Fork 114
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
[RSDK-7007] Update CI to build semver "dev" versions for latest #4827
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG (but I've broken this logic before so take my review with a grain of salt)
@@ -0,0 +1,43 @@ | |||
#!/bin/bash | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
optional nit, would set -e
here for bash hygiene
# Set PATH_VERSION based on TAG_VERSION | ||
PATH_VERSION="v${TAG_VERSION}" | ||
|
||
echo ${PATH_VERSION} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this file is good but will be very funky when someone else touches it I suspect. this is non-blocking, but would like to add a test for this
(doesn't have to be you -- assign tests to me if you want)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree tests would be good, but not urgent (there's likely some more tweaks that'll be needed here anyway.) Created https://viam.atlassian.net/browse/RSDK-10159 for whenever we get to it.
Previously we'd been building "latest" as timestamp (20250304121314) style "versions." This switches to using a semantic version compatible format with a "dev" prerelease tag. It also embeds that version properly in builds.
This will be picked up by upcoming changes in App, along with similar work for Agent.