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