From 5f4b6e069f4d71f2fe06377a6cfc5e7b0b3ea00c Mon Sep 17 00:00:00 2001 From: nicos_backbase Date: Mon, 13 Oct 2025 22:35:53 +0200 Subject: [PATCH] fix: bumping version number --- .github/workflows/release.yml | 21 ++++++++++++++++++--- Cargo.toml | 2 +- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 122d456..2d973ab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,6 +97,7 @@ jobs: git config --local user.name "GitHub Action" git add Cargo.toml git commit -m "chore: bump version to ${{ needs.semantic-version.outputs.version }}" || exit 0 + git push || exit 0 - name: Create Release id: create_release @@ -161,6 +162,12 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v5 + with: + ref: main + fetch-depth: 1 + + - name: Pull latest changes + run: git pull origin main - name: Install Rust uses: dtolnay/rust-toolchain@stable @@ -223,6 +230,12 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v5 + with: + ref: main + fetch-depth: 1 + + - name: Pull latest changes + run: git pull origin main - name: Install Rust uses: dtolnay/rust-toolchain@stable @@ -279,10 +292,12 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v5 + with: + ref: main + fetch-depth: 1 - - name: Update Cargo.toml version - run: | - sed -i.bak 's/^version = ".*"/version = "${{ needs.semantic-version.outputs.version }}"/' Cargo.toml && rm Cargo.toml.bak + - name: Pull latest changes + run: git pull origin main - name: Install Rust uses: dtolnay/rust-toolchain@stable diff --git a/Cargo.toml b/Cargo.toml index c6badcc..2f60b4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "repos" -version = "0.0.2" +version = "0.0.3" edition = "2024" [dependencies]