generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
686 additions
and
6 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,20 @@ | ||
{ | ||
"gitSiteUrl": "https://github.com/lucasfernog/tauri-action/", | ||
"pkgManagers": { | ||
"javascript": { | ||
"version": true, | ||
"publish": true | ||
} | ||
}, | ||
"packages": { | ||
"action": { | ||
"path": "./", | ||
"manager": "javascript", | ||
"publish": [ | ||
"git tag ${ pkg.pkg }-v${ pkgFile.versionMajor } -f", | ||
"git tag ${ pkg.pkg }-v${ pkgFile.versionMajor }.${ pkgFile.versionMinor } -f", | ||
"git push --tags -f" | ||
] | ||
} | ||
} | ||
} |
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,17 @@ | ||
# Changes | ||
##### via https://github.com/jbolda/covector | ||
|
||
As you create PRs and make changes that require a version bump, please add a new markdown file in this folder. You do not note the version *number*, but rather the type of bump that you expect: major, minor, or patch. The filename is not important, as long as it is a `.md`, but we recommend it represents the overall change for our sanity. | ||
|
||
When you select the version bump required, you do *not* need to consider depedencies. Only note the package with the actual change, and any packages that depend on that package will be bumped automatically in the process. | ||
|
||
Use the following format: | ||
```md | ||
--- | ||
"tauri.js": patch | ||
"tauri": minor | ||
--- | ||
|
||
Change summary goes here | ||
|
||
``` |
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,17 @@ | ||
name: covector status | ||
on: [pull_request] | ||
|
||
jobs: | ||
covector: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- run: yarn | ||
- run: yarn workspace action build | ||
- name: covector status | ||
uses: ./packages/action | ||
with: | ||
command: 'status' |
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,37 @@ | ||
name: covector version or publish | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
covector: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12 | ||
registry-url: 'https://registry.npmjs.org' | ||
- name: git config | ||
run: | | ||
git config --global user.name "${{ github.event.pusher.name }}" | ||
git config --global user.email "${{ github.event.pusher.email }}" | ||
- name: covector version-or-publish | ||
uses: jbolda/covector/packages/action@covector-v0 | ||
id: covector | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
command: 'version-or-publish' | ||
createRelease: true | ||
- name: create pull request | ||
id: cpr | ||
uses: tauri-apps/[email protected] | ||
with: | ||
title: "Publish New Versions" | ||
labels: "version updates" | ||
branch: "release" | ||
body: ${{ steps.covector.outputs.change }} |
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
Oops, something went wrong.