-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds auto pub action to be triggered by auto deploy
- Loading branch information
1 parent
d7f1dc7
commit b444b18
Showing
4 changed files
with
69 additions
and
2 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,38 @@ | ||
release: | ||
title-prefix: 'v' | ||
title-postfix: '' | ||
body-title: '' | ||
body-when-empty-changes: 'No changes' | ||
initial-version: '1.5.9' | ||
tag-prefix: 'v' | ||
tag-postfix: '' | ||
branch: | ||
base-branch: 'main' | ||
version-branch-prefix: 'v' | ||
version-branch-postfix: '' | ||
create-major-version-branch: false | ||
create-minor-version-branch: true | ||
bump-version-commit-prefix: 'v' | ||
bump-version-commit-postfix: '' | ||
categories: | ||
- title: '' | ||
commits: | ||
- 'Upgrading JBrowse version' | ||
changes-prefix: 'Automatic JBrowse dependency upgrade: ' | ||
bump: | ||
default: 'minor' | ||
major: | ||
labels: | ||
- 'major' | ||
commits: | ||
- 'major:' | ||
minor: | ||
labels: | ||
- 'minor' | ||
commits: | ||
- 'minor: JBrowse version bump' | ||
patch: | ||
labels: | ||
- 'patch' | ||
commits: | ||
- 'patch:' |
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,30 @@ | ||
name: Receive dispatch (publish) | ||
|
||
on: | ||
repository_dispatch: | ||
types: | ||
- auto_publish | ||
|
||
jobs: | ||
upgrade: # upgrades package files with new JBrowse version | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Upgrade dash_jbrowse version | ||
uses: actions/checkout@v4 | ||
- run: | | ||
sed -i 's|.*dash-jbrowse.*| "dash-jbrowse>=${{github.event.client_payload.version}}",|' requirements.txt | ||
- name: Commit and push changes | ||
run : | | ||
git config --global user.name "cmdcolin" | ||
git config --global user.email "[email protected]" | ||
git add -A | ||
git commit -m "Upgrading dash_jbrowse version" | ||
git push | ||
- name: Bump version | ||
uses: MeilCli/bump-release-action@v1 | ||
with: | ||
config_path: '.github/bump.yml' | ||
bump: 'patch' | ||
release: | ||
needs: upgrade | ||
uses: ./.github/workflows/release.yml |
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 |
---|---|---|
|
@@ -128,7 +128,7 @@ dmypy.json | |
# Pyre type checker | ||
.pyre/ | ||
|
||
|
||
.DS_Store | ||
.vscode | ||
|
||
GRCh37_latest_genomic.sort.gff.gz | ||
|
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