From 0a9f12404ad91f18f3a7add3893416bf285ea358 Mon Sep 17 00:00:00 2001 From: Burak Yigit Kaya Date: Tue, 14 Jul 2020 22:19:47 +0300 Subject: [PATCH] fix(license): License change date should be 3 years later, not now Follow up to #584. --- scripts/bump-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bump-version.sh b/scripts/bump-version.sh index 73da616..2a8cd9d 100644 --- a/scripts/bump-version.sh +++ b/scripts/bump-version.sh @@ -12,7 +12,7 @@ SYMBOLICATOR_VERSION=$(curl -sSL 'https://api.github.com/repos/getsentry/symboli sed -i -e "s/^SYMBOLICATOR_VERSION=.*\$/SYMBOLICATOR_VERSION=$SYMBOLICATOR_VERSION/" .env sed -i -e "s/^SENTRY_VERSION=.*\$/SENTRY_VERSION=$NEW_VERSION/" .env sed -i -e "s/^\# Sentry .* On-Premise/# Sentry $NEW_VERSION On-Premise/" README.md -sed -i -e "s/\(Change Date:\s*\)[-0-9]\+\$/\\1$(date +'%Y-%m-%d')/" LICENSE +sed -i -e "s/\(Change Date:\s*\)[-0-9]\+\$/\\1$(date +'%Y-%m-%d' -d '3 years')/" LICENSE echo "New version: $NEW_VERSION" echo "New Symbolicator version: $SYMBOLICATOR_VERSION"