-
Couldn't load subscription status.
- Fork 11
feat: update release-please config, allow releases from main.yml #1177
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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
2abe8d2
feat: update release-please config, allow releases from main.yml
elibosley e3e0535
feat: include component-in-tag set in each sub-dependency
elibosley 473e741
feat: attempt to move to single releaser
elibosley c701a6f
fix: manifest single version
elibosley 168dadb
fix: use tag_name instead of looking up release manuall
elibosley b3c844d
fix: directly specify extra-files
elibosley 30f5f04
fix: add version to root package.json
elibosley b3b3c02
fix: name the package
elibosley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,11 +1,11 @@ | ||
| name: Publish Release to Digital Ocean | ||
| name: Update Release Changelog | ||
|
|
||
| on: | ||
| release: | ||
| types: [published] | ||
| types: [edited] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh this is so clever |
||
|
|
||
| jobs: | ||
| publish-to-digital-ocean: | ||
| update-release-changelog: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
|
|
@@ -18,13 +18,27 @@ jobs: | |
| target: "./" | ||
| version: "latest" | ||
|
|
||
| - name: Verify Required Files Exist | ||
| run: | | ||
| if [ ! -f "dynamix.unraid.net.plg" ]; then | ||
| echo "Error: dynamix.unraid.net.plg not found" | ||
| exit 1 | ||
| fi | ||
|
|
||
| # Check for at least one .txz file | ||
| if [ -z "$(find . -name '*.txz')" ]; then | ||
| echo "Error: No .txz files found" | ||
| exit 1 | ||
| fi | ||
|
|
||
| - uses: cardinalby/git-get-release-action@v1 | ||
| id: release-info | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| with: | ||
| latest: true | ||
| prerelease: false | ||
|
|
||
| - name: Get Release Changelog | ||
| run: | | ||
| notes=$(cat << EOF | ||
|
|
||
This file contains hidden or 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 |
|---|---|---|
| @@ -1 +1 @@ | ||
| {"api":"4.1.2","web":"4.1.2","unraid-ui":"4.1.2","plugin":"4.1.2"} | ||
| {".": "4.1.2"} |
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,27 +1,17 @@ | ||
| { | ||
| "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", | ||
| "packages": { | ||
| "api": { | ||
| "package-name": "@unraid/api", | ||
| "release-type": "node" | ||
| }, | ||
| "web": { | ||
| "package-name": "@unraid/web", | ||
| "release-type": "node", | ||
| "skip-github-release": true | ||
| }, | ||
| "unraid-ui": { | ||
| "package-name": "@unraid/ui", | ||
| "release-type": "node", | ||
| "skip-github-release": true | ||
| }, | ||
| "plugin": { | ||
| "package-name": "@unraid/connect-plugin", | ||
| "release-type": "node", | ||
| "skip-github-release": true | ||
| } | ||
| }, | ||
| "separate-pull-requests": false, | ||
| "include-component-in-tag": false, | ||
| "draft": true | ||
| } | ||
| "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", | ||
| "packages": { | ||
| ".": { | ||
| "release-type": "node", | ||
| "extra-files": [ | ||
| "api/package.json", | ||
| "plugin/package.json", | ||
| "unraid-ui/package.json", | ||
| "web/package.json" | ||
| ] | ||
| } | ||
| }, | ||
| "always-update": true, | ||
| "include-component-in-tag": false, | ||
| "draft": false | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
love to see it