Skip to content

Commit

Permalink
change destination dirname to include timestamp
Browse files Browse the repository at this point in the history
also move the openwrt version in front
  • Loading branch information
ansemjo committed Mar 17, 2024
1 parent d24b3d3 commit 2fbb794
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openwrtbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ EOF
[[ -n $FILES ]] && FILES=$(readlink -vf "$FILES")

# construct the build output path
DESTINATION="$(readlink -vf "$DESTINATION")/openwrt-${TARGET////-}-${PROFILE}-${VERSIONINFO}"
TIMESTAMP=$(date --utc +%FT%H%M%S%Z)
DESTINATION="$(readlink -vf "$DESTINATION")/openwrt-${VERSIONINFO}-${TARGET////-}-${PROFILE}-${TIMESTAMP}"

# switch to a temporary directory
tmp=$(mktemp --tmpdir -d openwrtbuilder-XXXXXX)
Expand Down

0 comments on commit 2fbb794

Please sign in to comment.