Skip to content
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
9 changes: 6 additions & 3 deletions .github/workflows/release-others.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
environment: publish
runs-on: ubuntu-22.04
permissions:
contents: read
contents: write
id-token: write

steps:
Expand Down Expand Up @@ -100,6 +100,9 @@ jobs:
version_native=$(cargo pkgid | cut -d "#" -f2)
echo "version_native=$version_native" >> $GITHUB_OUTPUT

version_python=$(grep '^version = ' python/pyproject.toml | sed -E 's/version = "(.*)"/\1/')
echo "version_python=$version_python" >> $GITHUB_OUTPUT

- name: Setup git
run: |
git config user.name "devolutionsbot"
Expand Down Expand Up @@ -175,8 +178,8 @@ jobs:
- name: Tag Python Release
if: ${{ inputs.publish_python && !inputs.publish_dry_run }}
run: |
git tag "python-v${{ steps.version.outputs.version_native }}"
git push origin "python-v${{ steps.version.outputs.version_native }}"
git tag "python-v${{ steps.version.outputs.version_python }}"
git push origin "python-v${{ steps.version.outputs.version_python }}"

- name: Publish Kotlin to Cloudsmith
if: ${{ inputs.publish_kotlin && !inputs.publish_dry_run }}
Expand Down