forked from immich-app/immich
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Add workflow for creating draft releases (immich-app#1402)
* build: Change pump-version script to use flags * build: Create initial prepare-release workflow * build: Fix release script path * build: Rename .env.example to example.env * docs: propagate example.env rename * build: Fix pump-version script patch argument * build: Final tweaks to release scripts
- Loading branch information
Showing
10 changed files
with
99 additions
and
18 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Prepare new release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
serverBump: | ||
description: 'Bump server version' | ||
required: true | ||
default: 'false' | ||
type: choice | ||
options: | ||
- false | ||
- minor | ||
- patch | ||
mobileBump: | ||
description: 'Bump mobile build number' | ||
required: false | ||
type: boolean | ||
|
||
jobs: | ||
tag_release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Bump version | ||
run: misc/release/pump-version.sh -s "${{ inputs.serverBump }}" -m "${{ inputs.mobileBump }}" | ||
|
||
- name: Commit and tag | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
author_name: Immich Release Bot | ||
author_email: [email protected] | ||
message: "Version ${{ env.IMMICH_VERSION }}" | ||
tag: ${{ env.IMMICH_VERSION }} | ||
push: true | ||
|
||
- name: Create draft release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
draft: true | ||
tag_name: ${{ env.IMMICH_VERSION }} | ||
generate_release_notes: true | ||
body_path: misc/release/notes.tmpl | ||
files: | | ||
docker/docker-compose.yml | ||
docker/example.env |
File renamed without changes.
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
## Highlights | ||
|
||
{{RELEASE HIGHLIGHTS}} | ||
|
||
As always, please consider supporting the project. | ||
|
||
🎉 Cheer! 🎉 | ||
|
||
|
||
## Support | ||
|
||
<p align="center"> | ||
<img src="https://media.giphy.com/media/LStqgGESXW8XnuCv5y/giphy.gif" width="250" title="Loading ~4000 images/videos"> | ||
</p> | ||
|
||
|
||
If you find the project helpful and it helps you in some ways, you can support the project [one time](https://github.com/sponsors/alextran1502?frequency=one-time&sponsor=alextran1502) or [monthly](https://github.com/sponsors/alextran1502) from GitHub Sponsors | ||
|
||
It is a great way to let me know that you want me to continue developing and working on this project for years to come. | ||
|
||
## What's Changed |
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