Skip to content

Commit

Permalink
correctly show beta tags
Browse files Browse the repository at this point in the history
The tag format upstream was extended - this tracks that change.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  • Loading branch information
dirkhh committed Oct 3, 2023
1 parent bcceeda commit 98ec4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -12019,7 +12019,7 @@ _EOF_

# determine the version
local ADSB_FEEDER_DATE_COMPONENT=$(git log -20 --date='format:%y%m%d' --format='%ad' | uniq -c | mawk '{print $2"."$1;exit}')
local ADSB_FEEDER_TAG_COMPONENT=$(git describe --match 'v[0-9]*' | cut -d- -f1)
local ADSB_FEEDER_TAG_COMPONENT=$(git describe --match "v[0-9]*" --long | sed "s/-[0-9]*-g[0-9a-f]*//")
local ADSB_FEEDER_VERSION="$ADSB_FEEDER_TAG_COMPONENT(dietpi)-$ADSB_FEEDER_DATE_COMPONENT"

# create the target directory for the app and populated with the code from the git checkout
Expand Down

0 comments on commit 98ec4a8

Please sign in to comment.