generated from paranext/paranext-multi-extension-template
-
-
Notifications
You must be signed in to change notification settings - Fork 3
PT-3107: improve release workflow (update from templates) #27
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
14 commits
Select commit
Hold shift + click to select a range
213a3b0
Update Tailwind prose colors
rolfheij-sil ba1eec1
Update Tailwind prose colors (#57)
rolfheij-sil ee5309a
Use default 'WebView' and sync shared regions
imnasnainaec 115effe
Revert sort-of
imnasnainaec a6db428
Use standard 'WebView' and sync shared regions (#58)
imnasnainaec e43fe26
Added CODEOWNERS matching our code stewardship list (#59)
tjcouch-sil e365840
PT-2390: Improved README wording and added references to paranext-ext…
tombogle 8741e5c
PT-3107: Improve release workflow (#61)
tjcouch-sil 4b2a775
PT-3107: Fixed problem autoformatting readme (#62)
tjcouch-sil c6680b7
Merge remote-tracking branch 'paranext-multi-extension-template/main'
tjcouch-sil 75d8277
Squashed 'src/scripture-forge/' changes from a79494c..d8fd69d
tjcouch-sil 8ecdbc3
Merge commit '75d8277c32cc05a74da3bec7e223689b742d14bb'
tjcouch-sil fdba729
Fixed error.message handling (#63)
tjcouch-sil 9ce6cd7
Merge remote-tracking branch 'paranext-multi-extension-template/main'…
tjcouch-sil 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| * @tjcouch-sil @lyonsil |
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 |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| name: Bump Versions Action | ||
| description: | | ||
| Runs bump-versions.ts script | ||
|
|
||
| inputs: | ||
| newVersion: | ||
| description: "Version to bump all the repo's versions to on a new branch (called `bump-versions-<version>`), e.g. 0.3.0-alpha.0." | ||
| required: true | ||
|
|
||
| runs: | ||
| using: 'composite' | ||
| steps: | ||
| - name: Bump repo versions | ||
| # Bump versions using the built-in git token https://github.com/actions/checkout/tree/v4/?tab=readme-ov-file#push-a-commit-using-the-built-in-token | ||
| shell: bash | ||
| run: | | ||
| git config user.name "github-actions[bot]" | ||
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
| npm run bump-versions -- ${{ inputs.newVersion }} |
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 |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| name: Bump Versions | ||
| run-name: Bump versions on ${{ github.head_ref || github.ref_name }} to ${{ github.event.inputs.newVersion }} | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| newVersion: | ||
| description: "Version to bump all the repo's versions to on a new branch (called `bump-versions-<version>`), e.g. 0.3.0-alpha.0." | ||
| required: true | ||
|
|
||
| jobs: | ||
| bump-versions: | ||
| name: Bump versions on ${{ matrix.os }} | ||
|
|
||
| runs-on: ${{ matrix.os }} | ||
|
|
||
| permissions: | ||
| contents: write | ||
|
|
||
| strategy: | ||
| matrix: | ||
| os: [ubuntu-latest] | ||
|
|
||
| steps: | ||
| - name: Output Workflow Dispatch Inputs | ||
| run: echo "${{ toJSON(github.event.inputs) }}" | ||
|
|
||
| - name: Checkout git repo | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Read package.json | ||
| id: package_json | ||
| uses: zoexx/[email protected] | ||
| with: | ||
| file_path: 'package.json' | ||
|
|
||
| - name: Install Node and NPM | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| cache: npm | ||
| node-version: ${{ fromJson(steps.package_json.outputs.volta).node }} | ||
|
|
||
| - name: Install packages | ||
| run: | | ||
| npm ci | ||
|
|
||
| - name: Bump repo versions | ||
| if: ${{ inputs.newVersion != '' }} | ||
| uses: ./.github/actions/bump-versions-action | ||
| with: | ||
| newVersion: ${{ inputs.newVersion }} |
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
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
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 |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| * text eol=lf | ||
| *.exe binary | ||
| *.png binary | ||
| *.jpg binary | ||
| *.jpeg binary | ||
| *.ico binary | ||
| *.icns binary | ||
| *.eot binary | ||
| *.otf binary | ||
| *.ttf binary | ||
| *.woff binary | ||
| *.woff2 binary | ||
| *.ldml binary | ||
| *.zip binary |
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 |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| * @tjcouch-sil @lyonsil |
19 changes: 19 additions & 0 deletions
19
src/scripture-forge/.github/actions/bump-versions-action/action.yml
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 |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| name: Bump Versions Action | ||
| description: | | ||
| Runs bump-versions.ts script | ||
|
|
||
| inputs: | ||
| newVersion: | ||
| description: "Version to bump all the repo's versions to on a new branch (called `bump-versions-<version>`), e.g. 0.3.0-alpha.0." | ||
| required: true | ||
|
|
||
| runs: | ||
| using: 'composite' | ||
| steps: | ||
| - name: Bump repo versions | ||
| # Bump versions using the built-in git token https://github.com/actions/checkout/tree/v4/?tab=readme-ov-file#push-a-commit-using-the-built-in-token | ||
| shell: bash | ||
| run: | | ||
| git config user.name "github-actions[bot]" | ||
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
| npm run bump-versions -- ${{ inputs.newVersion }} |
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
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.
Uh oh!
There was an error while loading. Please reload this page.