Skip to content
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

Benjijamorris patch 9 #397

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
8a22639
Bump version: 0.1.7 → 0.2.0
Jun 28, 2024
080355e
debug
Jun 28, 2024
9980534
Update README.md
benjijamorris Jun 28, 2024
e565269
Merge pull request #1 from benjijamorris/benjijamorris-patch-1
benjijamorris Jun 28, 2024
df59c18
log
Jun 28, 2024
6c214a7
Merge branch 'main' of https://github.com/benjijamorris/cyto-dl into …
Jun 28, 2024
726f3da
Update README.md
benjijamorris Jun 28, 2024
5bd4a5c
Merge pull request #3 from benjijamorris/benjijamorris-patch-2
benjijamorris Jun 28, 2024
a4be41e
fix log
Jun 28, 2024
020b50c
Update README.md
benjijamorris Jun 28, 2024
3d62be2
Merge pull request #4 from benjijamorris/benjijamorris-patch-4
benjijamorris Jun 28, 2024
3f275b0
test
Jun 28, 2024
7eb787b
Merge branch 'main' of https://github.com/benjijamorris/cyto-dl into …
Jun 28, 2024
963fe3a
Update README.md
benjijamorris Jun 28, 2024
3cbebae
Merge pull request #6 from benjijamorris/benjijamorris-patch-5
benjijamorris Jun 28, 2024
0fc13c4
test
Jun 28, 2024
b0c0f2e
Merge branch 'main' of https://github.com/benjijamorris/cyto-dl into …
Jun 28, 2024
95da012
Update README.md
benjijamorris Jun 28, 2024
3ebe4a2
Merge pull request #7 from benjijamorris/benjijamorris-patch-6
benjijamorris Jun 28, 2024
d0c339f
git auto commit
Jun 28, 2024
6eff82c
Update README.md
benjijamorris Jun 28, 2024
acd50fd
Merge pull request #9 from benjijamorris/benjijamorris-patch-7
benjijamorris Jun 28, 2024
0870db7
git auto comimt
Jun 28, 2024
be9cc6f
Update README.md
benjijamorris Jun 28, 2024
558d5d5
Merge pull request #10 from benjijamorris/benjijamorris-patch-8
benjijamorris Jun 28, 2024
ca49f67
try again
Jul 1, 2024
814bda1
Merge branch 'main' of https://github.com/benjijamorris/cyto-dl into …
Jul 1, 2024
40b8f73
Update README.md
benjijamorris Jul 1, 2024
1a95e19
Merge branch 'main' into benjijamorris-patch-9
benjijamorris Jul 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[bumpversion]

current_version = 0.1.8

tag = True
commit = True

Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/build-docs.yml

This file was deleted.

53 changes: 0 additions & 53 deletions .github/workflows/bump.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/code-quality-main.yaml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/workflows/code-quality-pr.yaml

This file was deleted.

64 changes: 64 additions & 0 deletions .github/workflows/create_publish_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# takes the most recent commit on main, bumps version based on
# semver_component input, and PRs change back to main
name: Bump version and PR

on:
workflow_dispatch:
inputs:
semver_component:
description: "Semantic versioning component to bump"
required: true
type: choice
default: "patch"
options:
- major
- minor
- patch
- dev

jobs:
publish:
name: Bump and PR
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
pull-requests: write

steps:
- uses: actions/checkout@v4
with:
ref: main

- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install bumpver

- name: Bump version
run: |
git config --global user.name 'aicsgithub'
git config --global user.email 'aicsgithub@alleninstitute.org'
python publish_bumpver_handler.py ${{ inputs.semver_component }}

# takes the commit from the last step, pushes to new branch, release, and creates PR
- name: Create pull request
uses: peter-evans/create-pull-request@v6
with:
branch: workflow-release
base: main
title: Bump version and publish
body: See commit message or diff for new version number

- name: Tag version
run: |
git checkout workflow-release
python tag_with_current_version.py
git push origin --tags


14 changes: 0 additions & 14 deletions .github/workflows/debug.yml

This file was deleted.

105 changes: 0 additions & 105 deletions .github/workflows/make-requirements.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: pdm-project/setup-pdm@v2
with:
python-version: "3.10"

- name: Build package
run: pdm build

Expand Down
27 changes: 0 additions & 27 deletions .github/workflows/release-drafter.yml

This file was deleted.

Loading