fix(script): adjust GIT_AUTHOR_DATE format for compatibility
- Updates GIT_AUTHOR_DATE to use Unix timestamp format for consistency and improved compatibility with systems parsing date formats.
This commit is contained in:
@@ -95,7 +95,7 @@ if git rev-parse "v$VERSION" >/dev/null 2>&1; then
|
||||
echo "🔁 Tag v$VERSION already exists, skipping."
|
||||
else
|
||||
echo "🏷️ Creating annotated tag v$VERSION"
|
||||
export GIT_AUTHOR_DATE="$(date --iso-8601=seconds)"
|
||||
export GIT_AUTHOR_DATE="@$(date +%s)"
|
||||
export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"
|
||||
git tag -a "v$VERSION" -F "$RELEASE_BODY_TMP" --cleanup=verbatim
|
||||
git push origin "v$VERSION"
|
||||
|
Reference in New Issue
Block a user