From 2583911d8c7eeac14b35a55d1c6e98390987b1c5 Mon Sep 17 00:00:00 2001 From: Prince Merveil Date: Fri, 29 Dec 2023 12:17:11 +0100 Subject: [PATCH] remove release creation by the robot --- .github/workflows/deployment.yml | 20 ++++++++++---------- makefile | 4 ++++ new_version.sh | 2 +- 3 files changed, 15 insertions(+), 11 deletions(-) create mode 100644 makefile mode change 100644 => 100755 new_version.sh diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index e44d7f4..29b7e1e 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -27,13 +27,13 @@ jobs: echo MTN_API_KEY=${{ secrets.MTN_API_KEY}} >> .env cargo test - release: - needs: build - runs-on: ubuntu-latest - steps: - - name: Create Release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - tag=$(git describe --tags --abbrev=0) - gh release create $tag ./target/release/* \ No newline at end of file + # release: + # needs: build + # runs-on: ubuntu-latest + # steps: + # - name: Create Release + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # run: | + # tag=$(git describe --tags --abbrev=0) + # gh release create $tag ./target/release/* \ No newline at end of file diff --git a/makefile b/makefile new file mode 100644 index 0000000..907978b --- /dev/null +++ b/makefile @@ -0,0 +1,4 @@ + +push_new_version: + chmod +x new_version.sh + ./new_version.sh \ No newline at end of file diff --git a/new_version.sh b/new_version.sh old mode 100644 new mode 100755 index 5998768..adaccdc --- a/new_version.sh +++ b/new_version.sh @@ -20,5 +20,5 @@ git commit -m "Bump version to $new_version" git tag $new_version # Push changes and tags to the repository -git push origin main # Change 'main' to your branch name if it's different +git push origin master # Change 'main' to your branch name if it's different git push origin $new_version