-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #398 from cmu-delphi/devMainUseProposal
Versioning Proposal
- Loading branch information
Showing
7 changed files
with
77 additions
and
13 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,19 @@ | ||
{ | ||
"scheme": "semantic", | ||
"versionFile": "./DESCRIPTION", | ||
"files": [], | ||
"rules": [ | ||
{ | ||
"trigger": "commit", | ||
"branch": "dev", | ||
"bump": "build" | ||
}, | ||
{ | ||
"trigger": "commit", | ||
"bump": "minor", | ||
"branch": "main", | ||
"tag": true, | ||
"reset": "build" | ||
} | ||
] | ||
} |
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,23 @@ | ||
# this action: https://github.com/marketplace/actions/version-bumper | ||
# also see the options file for configuration | ||
name: Manage versions | ||
|
||
# not actually on all pushes, see the options file | ||
on: [push] | ||
|
||
jobs: | ||
bump: | ||
#if: github.event.pull_request.merged == true | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Checkout action is required | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: "12" | ||
- name: Bump Versions | ||
uses: michmich112/version-bumper@master | ||
with: | ||
options-file: "./.github/version_bump_options.json" | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
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,23 @@ | ||
name: Release Helper | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
sync_dev: | ||
needs: correct_repository | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: dev | ||
fetch-depth: 0 | ||
ssh-key: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_SSH }} | ||
- name: Reset dev branch | ||
run: | | ||
git fetch origin main:main | ||
git merge main | ||
git push |
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