bump 1.24.4 #58
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
# Sequence of patterns matched against refs/tags | |
tags: | |
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 | |
name: Create Release | |
jobs: | |
get_version: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Retrieve version | |
id: get_version | |
run: | | |
echo icloudpd_version=$(cat pyproject.toml | grep version= | cut -d'"' -f 2) >> $GITHUB_OUTPUT | |
- name: Log version | |
run: | | |
echo "icloudpd_version=${{steps.get_version.outputs.icloudpd_version}}" | |
outputs: | |
icloudpd_version: ${{steps.get_version.outputs.icloudpd_version}} | |
extract_changelog: | |
needs: [get_version] | |
uses: ./.github/workflows/extract-changelog.yml | |
with: | |
icloudpd_version: ${{needs.get_version.outputs.icloudpd_version}} | |
patch_version: | |
uses: ./.github/workflows/patch-version.yml | |
build_package: | |
needs: [get_version, patch_version] | |
uses: ./.github/workflows/build-package.yml | |
with: | |
icloudpd_version: ${{needs.get_version.outputs.icloudpd_version}} | |
compile_notes: | |
needs: [get_version, build_package, extract_changelog] | |
uses: ./.github/workflows/compile-notes.yml | |
with: | |
icloudpd_version: ${{needs.get_version.outputs.icloudpd_version}} | |
publish: | |
needs: [get_version, build_package, compile_notes] | |
uses: ./.github/workflows/publish.yml | |
with: | |
icloudpd_version: ${{needs.get_version.outputs.icloudpd_version}} | |
secrets: | |
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | |
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }} | |
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} |