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

ci: release according to the latest standards #91

Merged
merged 1 commit into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
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
14 changes: 11 additions & 3 deletions .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,19 @@ jobs:
curl -sSL https://install.python-poetry.org | python3 - --version 1.4.2
poetry install
poetry build
- uses: splunk/[email protected]
- id: semantic
uses: splunk/[email protected]
with:
git_committer_name: ${{ secrets.SA_GH_USER_NAME }}
git_committer_email: ${{ secrets.SA_GH_USER_EMAIL }}
gpg_private_key: ${{ secrets.SA_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.SA_GPG_PASSPHRASE }}
extra_plugins: |
@google/semantic-release-replace-plugin
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_ADMIN }}
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
- if: ${{ steps.semantic.outputs.new_release_published == 'true' }}
uses: splunk/[email protected]
with:
pypi_username: ${{ secrets.PYPI_USERNAME }}
pypi_token: ${{ secrets.PYPI_TOKEN }}
5 changes: 0 additions & 5 deletions .github/workflows/sr-prepare.sh

This file was deleted.

6 changes: 0 additions & 6 deletions .github/workflows/sr-release.sh

This file was deleted.

3 changes: 0 additions & 3 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@
[
"@semantic-release/exec",
{
"prepareCmd": "./.github/workflows/sr-prepare.sh ${nextRelease.version}",
"publishCmd": "./.github/workflows/sr-release.sh",
"shell": "bash",
"verifyReleaseCmd": "echo \"version=${nextRelease.version}\" >> $GITHUB_OUTPUT",
"successCmd": "echo \"new_release_published=${'true'}\" >> $GITHUB_OUTPUT"
},
Expand Down
Loading