Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automate release creation and tagging #12

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 29 additions & 1 deletion .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Git
Expand All @@ -30,6 +30,34 @@ jobs:
echo $RELEASE_VERSION
echo ${{ steps.set_output.outputs.tag }}

- name: Run latest-tag
uses: EndBug/latest-tag@v1
with:
description: This tag has been auto-generated by this action.
env:
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }}



- name: bump-everywhere
# You may pin to the exact commit or the version.
# uses: undergroundwires/bump-everywhere@5d9c038bc3ecc5648eadbf49ca6c66c6f67b0cf6
uses: undergroundwires/[email protected]
with:
# # Repository name with owner to bump & release. For example, undergroundwires/bump-everywhere
# repository: # optional, default is ${{ github.repository }}
# # Name of the user who will do the bump commit
# user: # optional, default is ${{ github.actor }}
# # Commit message that will be used in the bump commit
# commit-message: # optional, default is ⬆️ bump everywhere to {{version}}
# # Personal access token (PAT) used to clone & push to the repository.
git-token: ${{ secrets.ACTION_TOKEN }} # optional, default is ${{ github.token }}
# # The type of the GitHub release
# release-type: # optional, default is release
# # Personal access token (PAT) used to release to GitHub.
release-token: ${{ secrets.ACTION_TOKEN }} # optional, default is ${{ github.token }}


- name: Debug information
run: |
git status
Expand Down