-
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.
* ops: Create settings.json * Update create-release.yml
- Loading branch information
1 parent
2d61b9f
commit 693b5d2
Showing
2 changed files
with
7 additions
and
4 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 |
---|---|---|
|
@@ -105,23 +105,23 @@ jobs: | |
if: ${{ github.event.inputs.release-type == 'major' }} | ||
with: | ||
name: "settings.json" | ||
dir: "./Sources/Passage/Resources/" | ||
dir: "./Sources/Passage/" | ||
json: "{\n\t\"version\": \"${{ needs.determine-next-versions.outputs.next-major }}\"\n}" | ||
|
||
- name: Update minor version | ||
uses: jsdaniell/[email protected] | ||
if: ${{ github.event.inputs.release-type == 'minor' }} | ||
with: | ||
name: "settings.json" | ||
dir: "./Sources/Passage/Resources/" | ||
dir: "./Sources/Passage/" | ||
json: "{\n\t\"version\": \"${{ needs.determine-next-versions.outputs.next-minor }}\"\n}" | ||
|
||
- name: Update patch version | ||
uses: jsdaniell/[email protected] | ||
if: ${{ github.event.inputs.release-type == 'patch' }} | ||
with: | ||
name: "settings.json" | ||
dir: "./Sources/Passage/Resources/" | ||
dir: "./Sources/Passage/" | ||
json: "{\n\t\"version\": \"${{ needs.determine-next-versions.outputs.next-patch }}\"\n}" | ||
|
||
- name: Commit major version change | ||
|
@@ -367,4 +367,4 @@ jobs: | |
body: | | ||
This PR was created by the create-release-branch workflow. | ||
New Release: v${{ needs.determine-next-versions.outputs.next-patch }} | ||
I've updated the version name and code commit: ${{ steps.make-commit.outputs.commit }}. | ||
I've updated the version name and code commit: ${{ steps.make-commit.outputs.commit }}. |
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,3 @@ | ||
{ | ||
"version": "1.0.0" | ||
} |