From 5476212de85f3214b678238a6472dd493d0b6a7d Mon Sep 17 00:00:00 2001 From: PawAdam Date: Fri, 7 Nov 2025 12:00:53 +0000 Subject: [PATCH 1/3] testing new workflow --- Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Program.cs b/Program.cs index ffef8f2..9575829 100644 --- a/Program.cs +++ b/Program.cs @@ -4,6 +4,6 @@ class Program { static void Main(string[] args) { - Console.WriteLine("Testing out version bump"); + Console.WriteLine("Testing out new version bump"); } } \ No newline at end of file From cf01e520ccc63f2e9ce31c944b00e3c36b3a648e Mon Sep 17 00:00:00 2001 From: PawAdam <219140720+PawAdam@users.noreply.github.com> Date: Fri, 7 Nov 2025 12:07:14 +0000 Subject: [PATCH 2/3] Auto-bumping version.tx --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index 5a5831a..d169b2f 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.0.7 +0.0.8 From ffbc38b2024a8452b0715051b0bc9d8774760d41 Mon Sep 17 00:00:00 2001 From: PawAdam Date: Fri, 7 Nov 2025 12:19:52 +0000 Subject: [PATCH 3/3] small change --- .github/workflows/automated_versioning.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/automated_versioning.yml b/.github/workflows/automated_versioning.yml index e0f179b..f22a6d9 100644 --- a/.github/workflows/automated_versioning.yml +++ b/.github/workflows/automated_versioning.yml @@ -13,12 +13,12 @@ jobs: pull-requests: write steps: - - name: Checkout repository + - name: Checkout main branch uses: actions/checkout@v4 with: ref: main - - name: Read and bump version + - name: Get version from main branch id: old_version shell: bash run: | @@ -27,7 +27,7 @@ jobs: - name: Checkout feature branch uses: actions/checkout@v4 - - name: Get version.txt contents on feature branch + - name: Get version from feature branch id: new_version shell: bash run: | @@ -44,7 +44,7 @@ jobs: if: ${{ steps.old_version.outputs.OLD_VERSION == steps.new_version.outputs.NEW_VERSION }} uses: stefanzweifel/git-auto-commit-action@v5 with: - commit_message: Auto-bumping version.tx + commit_message: Auto-bumping version.txt - name: Update CHANGELOG.md run: | @@ -64,9 +64,3 @@ jobs: } { print } ' CHANGELOG.md > CHANGELOG.tmp && mv CHANGELOG.tmp CHANGELOG.md - - - name: Commit and push new version - run: | - git add . - git commit -m "Bump version to ${{ steps.bump.outputs.new_version }}" - git push