From 3bf1a96a789edadf0f0c3a4e10733c46fbccd482 Mon Sep 17 00:00:00 2001 From: Lawan Chaamindu Jayalath Samarasekara Date: Wed, 10 Apr 2024 01:32:35 +0530 Subject: [PATCH] Update create_version.yml --- .github/workflows/create_version.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create_version.yml b/.github/workflows/create_version.yml index 0be3fc76b8..a994c51c1d 100644 --- a/.github/workflows/create_version.yml +++ b/.github/workflows/create_version.yml @@ -3,7 +3,7 @@ name: Update Version and README on: push: branches: - - 'Issue#*' + # - 'Issue#*' - 'master' jobs: @@ -54,8 +54,7 @@ jobs: sed -i "s/Current Version:.*/Current Version: 3.0.0.${{ steps.current_date.outputs.date }}.${{ steps.increment_counter.outputs.counter }} (This line will be automatically updated to reflect the latest version)/" README.md - name: Update VersionController.java - run: | - sed -i "s/private String systemVersion = \".*\";/private String systemVersion = \"3.0.0.${{ steps.current_date.outputs.date }}.${{ steps.increment_counter.outputs.counter }}\";/" src/main/java/com/divudi/bean/common/VersionController.java + run: echo "3.0.0.${{ steps.current_date.outputs.date }}.${{ steps.increment_counter.outputs.counter }}" > src/main/java/com/divudi/bean/common/VERSION.txt - name: Set Git user name and email run: |