Commit 5fca27b
authored
chore: rework release workflows for releasekit (#217)
* chore: rework release workflows for releasekit
* fix: update error messaging and improve release summary handling in workflow
- Changed error message from "Unknown service" to "Unknown scope" for clarity.
- Wrapped target packages in quotes to ensure proper parsing.
- Updated release summary to reflect "Scope" instead of "Service".
- Added conditional check to display a failure message in the summary if the release step fails.
* refactor: simplify release workflow by removing unnecessary branch inputs
- Eliminated branch type and feature branch name inputs from the release workflow to streamline the process.
- Set the target branch to 'main' directly in the release job, enhancing clarity and reducing complexity in the workflow.
* chore: update releasekit
* chore(ci): enhance release workflow with branch handling and error messaging
- Added `--branch` option to `releasekit` command to ensure it pushes to the correct branch, addressing hardcoded "main" configuration.
- Introduced a check for `$HAS_CHANGES` to provide clearer feedback in the release summary, indicating if the release step did not complete successfully.
* chore: update @releasekit dependencies to version 0.3.1
- Upgraded @releasekit/release, @releasekit/notes, @releasekit/publish, and @releasekit/version to version 0.3.1 in package.json and pnpm-lock.yaml.
- Updated smol-toml dependency from 1.6.0 to 1.6.1 for improved functionality.
* chore(ci): refine release workflow prerelease handling
- Simplified the prerelease bump logic by removing unnecessary conditions for bump types.
- Clarified comments regarding the use of prerelease identifiers in the release process.
* chore(ci): combine release workflows
- Renamed sections in the README to improve understanding of the release process, changing "Release Infrastructure" to "Release Workflow" and "Scopes" to "Version Types".
- Consolidated service options under a new "scope" input in the release workflows, allowing for clearer package mapping.
- Removed the `release-native.yml` workflow as its functionality is now integrated into the main release workflow, streamlining the release process.
* chore: update @releasekit dependencies to version 0.6.1
- Upgraded @releasekit/release, @releasekit/notes, @releasekit/publish, and @releasekit/version to version 0.6.1 in package.json and pnpm-lock.yaml.
- Updated handlebars dependency from 4.7.8 to 4.7.9 for improved functionality.
* chore: update releasekit configuration for changelog and release notes
- Changed the schema URL in releasekit.config.json to a new location.
- Refactored the configuration structure by moving changelog settings under a new "changelog" key and reorganizing release notes settings for clarity.
- Updated the release notes configuration to maintain existing functionality while improving organization.
* chore(ci): update release scope description and adjust workflow filters
- Modified the release scope description to include 'shared' instead of 'native'.
- Updated the workflow filter for the 'shared' scope to reflect the new package mapping.
* chore(ci): enhance release workflow with automated checks and improved label handling
- Introduced a new job to check for release labels on commits, determining if a release should occur based on the presence of specific labels.
- Added concurrency control to the release process to manage simultaneous runs.
- Updated permissions for actions and contents to align with the new workflow structure.
- Refactored the release jobs to separate automatic and manual release processes, improving clarity and organization.
* docs: update release documentation to reflect automated and manual processes
- Revised the release process in CONTRIBUTING.md to emphasize automated releases triggered by PR labels.
- Enhanced the release workflow description in .github/workflows/README.md to clarify both manual and automated release options.
- Updated development.md to align with the new release strategy, detailing the use of labels for automated releases and providing examples for clarity.
* chore(ci): add release preview workflow for pull requests
- Introduced a new GitHub Actions workflow to generate release previews for pull requests targeting the main branch.
- Configured concurrency control to manage simultaneous preview runs and set appropriate permissions for pull requests and content access.
- Included steps for checking out the code, setting up Node.js and pnpm, installing dependencies, building packages, and running the release preview command.
* docs: enhance release documentation with preview workflow details
- Updated CONTRIBUTING.md to include information about the `release-preview.yml` workflow for PRs with release labels.
- Revised .github/workflows/README.md to clarify the role of the `release-preview.yml` in showing potential release outcomes.
- Adjusted references in the Docker README to reflect changes in CI workflow documentation.
* chore(ci): remove build step from release preview workflow
- Eliminated the build step from the release-preview.yml workflow to streamline the process, focusing on generating release previews directly.
* chore(ci): refactor release workflows to use ReleaseKit
- Updated the release and release preview workflows to utilize ReleaseKit for streamlined release management.
- Removed redundant steps and integrated ReleaseKit directly for both release and preview modes, enhancing efficiency and clarity.
- Adjusted environment variable handling and output processing to align with the new structure.
* chore(ci): update ReleaseKit version in workflows
- Upgraded ReleaseKit from v0.7.0 to v0.7.11 in both the release and release preview workflows to incorporate the latest features and improvements.
* chore(ci): upgrade ReleaseKit to v0.7.12 in workflows
- Updated ReleaseKit version from v0.7.11 to v0.7.12 in both the release and release preview workflows to leverage the latest improvements and features.
* chore(ci): upgrade ReleaseKit to v0.7.13 in workflows
- Updated ReleaseKit version from v0.7.12 to v0.7.13 in both the release and release preview workflows to incorporate the latest features and improvements.
* chore(ci): upgrade ReleaseKit to v0.7.14 in workflows
- Updated ReleaseKit version from v0.7.13 to v0.7.14 in both the release and release preview workflows to incorporate the latest features and improvements.
* chore: update ReleaseKit and related dependencies to v0.7.14
- Upgraded @releasekit/release, @releasekit/notes, and @releasekit/publish to version 0.7.14 in package.json and pnpm-lock.yaml.
- Updated @anthropic-ai/sdk to version 0.82.0 and other dependencies to their latest versions for improved functionality and compatibility.
* chore: upgrade ReleaseKit to v0.7.15
- Updated @releasekit/release, @releasekit/notes, and @releasekit/publish to version 0.7.15 in package.json and pnpm-lock.yaml.
- Modified workflows to use ReleaseKit version 0.7.15 for both release and release preview processes, ensuring the latest features and improvements are incorporated.
* chore: upgrade ReleaseKit to v0.7.16
- Updated @releasekit/release, @releasekit/notes, and @releasekit/publish to version 0.7.16 in package.json and pnpm-lock.yaml.
- Modified workflows to use ReleaseKit version 0.7.16 for both release and release preview processes, ensuring the latest features and improvements are incorporated.
* chore: upgrade ReleaseKit to v0.7.17
- Updated @releasekit/release, @releasekit/notes, and @releasekit/publish to version 0.7.17 in package.json and pnpm-lock.yaml.
- Modified workflows to use ReleaseKit version 0.7.17 for both release and release preview processes, ensuring the latest features and improvements are incorporated.
* chore: upgrade ReleaseKit to v0.7.18
- Updated @releasekit/release, @releasekit/notes, and @releasekit/publish to version 0.7.18 in package.json and pnpm-lock.yaml.
- Modified workflows to use ReleaseKit version 0.7.18 for both release and release preview processes, ensuring the latest features and improvements are incorporated.
* chore: upgrade ReleaseKit to v0.7.19
- Updated @releasekit/release, @releasekit/notes, and @releasekit/publish to version 0.7.19 in package.json and pnpm-lock.yaml.
- Modified workflows to use ReleaseKit version 0.7.19 for both release and release preview processes, ensuring the latest features and improvements are incorporated.
* chore: upgrade ReleaseKit to v0.7.20
- Updated @releasekit/release to version 0.7.20 in package.json.
- Modified workflows to use ReleaseKit version 0.7.20 for both release and release preview processes, ensuring the latest features and improvements are incorporated.
* chore: upgrade ReleaseKit to v0.7.21
- Updated @releasekit/release to version 0.7.21 in package.json and pnpm-lock.yaml.
- Modified workflows to use ReleaseKit version 0.7.21 for both release and release preview processes, ensuring the latest features and improvements are incorporated.
* chore: upgrade ReleaseKit to v0.7.22
- Updated @releasekit/release to version 0.7.22 in package.json and pnpm-lock.yaml.
- Modified workflows to use ReleaseKit version 0.7.22 for both release and release preview processes, ensuring the latest features and improvements are incorporated.
* chore: upgrade ReleaseKit to v0.7.23
- Updated @releasekit/release to version 0.7.23 in package.json and pnpm-lock.yaml.
- Modified workflows to use ReleaseKit version 0.7.23 for both release and release preview processes, ensuring the latest features and improvements are incorporated.
* chore: upgrade ReleaseKit to v0.7.24
- Updated @releasekit/release to version 0.7.24 in package.json and pnpm-lock.yaml.
- Modified workflows to use ReleaseKit version 0.7.24 for both release and release preview processes, ensuring the latest features and improvements are incorporated.
* chore: upgrade ReleaseKit to v0.7.25
- Updated @releasekit/release to version 0.7.25 in package.json and pnpm-lock.yaml.
- Modified workflows to use ReleaseKit version 0.7.25 for both release and release preview processes, ensuring the latest features and improvements are incorporated.
* chore: upgrade ReleaseKit to v0.7.26
- Updated @releasekit/release to version 0.7.26 in package.json and pnpm-lock.yaml.
- Modified workflows to use ReleaseKit version 0.7.26 for both release and release preview processes, ensuring the latest features and improvements are incorporated.
* chore: upgrade ReleaseKit to v0.7.27
- Updated @releasekit/release to version 0.7.27 in package.json and pnpm-lock.yaml.
- Modified workflows to use ReleaseKit version 0.7.27 for both release and release preview processes, ensuring the latest features and improvements are incorporated.
* chore: upgrade ReleaseKit to v0.7.28
- Updated @releasekit/release to version 0.7.28 in package.json.
- Modified workflows to use ReleaseKit version 0.7.28 for both release and release preview processes, ensuring the latest features and improvements are incorporated.
* chore: upgrade ReleaseKit to v0.7.29
- Updated @releasekit/release to version 0.7.29 in package.json and pnpm-lock.yaml.
- Modified workflows to use ReleaseKit version 0.7.29 for both release and release preview processes, ensuring the latest features and improvements are incorporated.
* chore: upgrade ReleaseKit to v0.7.30
- Updated @releasekit/release to version 0.7.30 in package.json and pnpm-lock.yaml.
- Modified workflows to use ReleaseKit version 0.7.30 for both release and release preview processes, ensuring the latest features and improvements are incorporated.
* chore: upgrade ReleaseKit to v0.7.31
- Updated @releasekit/release to version 0.7.31 in package.json and pnpm-lock.yaml.
- Modified workflows to use ReleaseKit version 0.7.31 for both release and release preview processes, ensuring the latest features and improvements are incorporated.
* chore: upgrade ReleaseKit to v0.7.32
- Updated @releasekit/release to version 0.7.32 in package.json.
- Modified workflows to use ReleaseKit version 0.7.32 for both release and release preview processes, incorporating the latest features and improvements.
* chore: update releasekit to v0.7.33
* chore: update releasekit to v0.7.34
* chore: update releasekit to v0.7.35
* chore: update releasekit to v0.7.36
* chore: update releasekit to v0.7.37
* chore: update releasekit to v0.7.38
* test: use releasekit v0.7.39
* test: use releasekit v0.7.40
* chore: update releasekit configuration to skip specific packages
- Added "skip" option to releasekit.config.json to exclude @repo/e2e and @wdio/bundler from the release process.
* chore: expand releasekit configuration to skip additional packages
- Updated the "skip" option in releasekit.config.json to exclude "electron-builder-e2e-app", "electron-forge-e2e-app", "electron-script-e2e-app", and "tauri-e2e-app" from the release process.
* chore: further expand releasekit configuration to skip additional packages
- Updated the "skip" option in releasekit.config.json to exclude "electron-builder-app-example-cjs", "electron-builder-app-example-esm", "electron-forge-app-example-cjs", "electron-forge-app-example-esm", "electron-script-app-example-cjs", and "electron-script-app-example-esm" from the release process.
* chore: update releasekit configuration to include additional package in skip list
- Added "tauri-e2e-app" to the "skip" option in releasekit.config.json to exclude it from the release process.
* test: use releasekit v0.7.41
* test: use releasekit v0.7.42
* test: use releasekit v0.7.43
* test: update releasekit to v0.7.44
* chore: update releasekit to v0.7.45
* chore: update releasekit to v0.7.46
* chore: update releasekit to v0.7.47
* chore: update releasekit to v0.7.48
* chore: update releasekit to v0.8.0
* refactor: simplify release workflow by removing check-labels and resolve-packages jobs, directly defining target packages and scope
* chore: add CI configuration for release triggers and scope labels in releasekit
* chore: update releasekit to v0.8.1
* chore: update releasekit to v0.9.0
* chore: update releasekit to v0.10.0
* chore: update releasekit to v0.10.1
* chore: update releasekit to v0.10.2
* chore: update releasekit to v0.10.3
* chore: enhance release workflow with label-based release checks
* chore: update releasekit to v0.10.4
* chore: update releasekit to v0.11.0
* chore: refactor release workflow to simplify SSH key handling and enhance target package management
* docs: update contributing guidelines to reflect changes in release label prefixes from 'release:' to 'bump:' for versioning
* chore: add scope input to release workflow for better release categorization
* chore: update releasekit to v0.11.0 and ensure consistent environment variable handling
* chore: refine build commands in release workflow to include scope prefixes for better clarity
* chore: update scope output variables in release workflow for consistency and clarity
* chore: remove npm-token from release workflows for improved security
* chore: streamline SSH key handling in release workflows for consistency
* chore: update releasekit to v0.11.1 and adjust dependencies in package.json and workflows
* chore: add target_branch input to release workflow for customizable release source
* chore: enhance scope handling in release workflow by removing 'scope:' prefix and improving error messaging
* chore: update releasekit to v0.12.0 and adjust dependencies in package.json and workflows
* chore: specify project directory in release workflow for improved context
* refactor: move Rust setup and GTK library installation steps for Tauri scope in release workflow
* fix: improve condition checks for Rust setup and GTK library installation in release workflow
* chore: set fetch-depth to 0 in release preview workflow for complete history retrieval
* docs: update README to reflect changes in release workflow, including renaming 'check-labels' to 'gate' and adding Rust and GTK setup steps for Tauri scope1 parent 3f55fb9 commit 5fca27b
21 files changed
Lines changed: 1480 additions & 2258 deletions
File tree
- .github/workflows
- scripts
- docs
- fixtures/package-tests/tauri-app/docker
- packages/electron-service/docs
Large diffs are not rendered by default.
This file was deleted.
This file was deleted.
0 commit comments