Skip to content

Commit

Permalink
remove release creation by the robot
Browse files Browse the repository at this point in the history
  • Loading branch information
princefr committed Dec 29, 2023
1 parent 53fb2a8 commit 2583911
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
# 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/*
4 changes: 4 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

push_new_version:
chmod +x new_version.sh
./new_version.sh
2 changes: 1 addition & 1 deletion new_version.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2583911

Please sign in to comment.