Skip to content

Commit

Permalink
pipeline fix
Browse files Browse the repository at this point in the history
  • Loading branch information
carl-adams-planet committed Dec 18, 2024
1 parent d82c10f commit fb3edfd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/actions/version-dot-buildnum-generate/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ runs:
build_timestamp_b10=$(date +%s) # Time based build number - Base 10
build_timestamp_b16=$(printf '%x' ${build_timestamp_b10}) # Time based build number - Base 16 - More compact, but might be interpreted as a non-digit
build_timestamp_bx16=$(printf '0x%x' ${build_timestamp_b10}) # As above, with leading '0x' so it's never not seen as hex (but is less compact)
version_buildnum=${build_timestamp_bx16}
# Python packaging doesn't like the "x" in the build number build numbers (even though it makes it less ambigious)
# Reverting to base 10 for now. *sigh*
version_buildnum=${build_timestamp_b10}
# Putting it all together
printf "${version_invariant}.${version_buildnum}${version_variant:+-}${version_variant}" > version-with-buildnum.txt
Expand Down
2 changes: 1 addition & 1 deletion version-with-buildnum.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.0.dev0
0.0.0.0-dev

0 comments on commit fb3edfd

Please sign in to comment.