From 99dc4256ba9ad696b39e22af6ec0d20f6343891b Mon Sep 17 00:00:00 2001 From: asennes Date: Wed, 18 Dec 2024 14:13:27 +0100 Subject: [PATCH] PI-812 fix format of version date (#48) --- .github/workflows/continious_integration.yml | 2 +- backend/src/main/resources/application.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continious_integration.yml b/.github/workflows/continious_integration.yml index e2d67fe..e242f67 100644 --- a/.github/workflows/continious_integration.yml +++ b/.github/workflows/continious_integration.yml @@ -24,7 +24,7 @@ jobs: uses: actions/checkout@v3 - name: Set current date as env variable - run: echo "VERSION_DATE=$(date +'%d.%m.%Y')" >> $GITHUB_ENV + run: echo "VERSION_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV - name: Set current short hash as env variable run: echo "VERSION_NO=$(git rev-parse --short HEAD)" >> $GITHUB_ENV diff --git a/backend/src/main/resources/application.yml b/backend/src/main/resources/application.yml index 6203cb4..b5d99aa 100644 --- a/backend/src/main/resources/application.yml +++ b/backend/src/main/resources/application.yml @@ -44,4 +44,4 @@ fh: version.no: "1.0.0" -version.date: "01.01.1970" \ No newline at end of file +version.date: "2024-12-31" \ No newline at end of file