|
|
@ -24,7 +24,7 @@ jobs:
|
|
|
|
- name: Bump Distribution Date
|
|
|
|
- name: Bump Distribution Date
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
# Inline Bump Script
|
|
|
|
# Inline Bump Script
|
|
|
|
[[ "$GITHUB_ACTOR" == 'MarlinFirmware' ]] || exit 0
|
|
|
|
[[ "$GITHUB_REPOSITORY" == "MarlinFirmware/Marlin" ]] || exit 0
|
|
|
|
DIST=$( date +"%Y-%m-%d" )
|
|
|
|
DIST=$( date +"%Y-%m-%d" )
|
|
|
|
eval "sed -E -i 's/(#define +STRING_DISTRIBUTION_DATE) .*$/\1 \"$DIST\"/g' Marlin/src/inc/Version.h" && \
|
|
|
|
eval "sed -E -i 's/(#define +STRING_DISTRIBUTION_DATE) .*$/\1 \"$DIST\"/g' Marlin/src/inc/Version.h" && \
|
|
|
|
git config user.name "${GITHUB_ACTOR}" && \
|
|
|
|
git config user.name "${GITHUB_ACTOR}" && \
|
|
|
|