Skip to content
This repository was archived by the owner on Mar 29, 2023. It is now read-only.

Commit

Permalink
ci: configure release-please (#43)
Browse files Browse the repository at this point in the history
* ci: configure release-please

* use main branch
  • Loading branch information
tswast authored Apr 27, 2021
1 parent 2ff42c3 commit 1acce1f
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
primaryBranch: main
releaseLabels: run-ci
handleGHRelease: true
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Main

on:
push:
branches: master
branches: main
pull_request:
branches: master
branches: main
schedule:
- cron: 0 3 * * *

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/system-tests-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,9 @@ jobs:

- name: run tests
run: GOOGLE_BIGQUERY_PROJECT_ID="ibis-gbq" GOOGLE_APPLICATION_CREDENTIALS="$HOME/secrets/gcloud-service-key.json" python -m pytest tests/system

# Remove the label so that it can be added again to re-trigger a build
- name: reset label
uses: actions-ecosystem/action-remove-labels@v1
with:
labels: run-ci
2 changes: 1 addition & 1 deletion .github/workflows/system-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: System Tests

on:
push:
branches: master
branches: main
schedule:
- cron: 0 2 * * *

Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

[PyPI History][1]

[1]: https://pypi.org/project/ibis-bigquery/#history
16 changes: 11 additions & 5 deletions release-procedure.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@

* Update version string in `ibis_bigquery/version.py`. TODO: add release date
to CHANGELOG, too.
* Review and merge PR from `release-please`. Check that it:
* Updates version string in `ibis_bigquery/version.py`.
* Includes all expected changes in `CHANGELOG.md`.

* Checkout the code.

git fetch upstream --tags
git checkout vA.B.C

* Build the package

Expand All @@ -24,11 +30,11 @@
twine upload dist/*


* Create the [release on
GitHub](https://github.com/ibis-project/ibis-bigquery/releases/new) using
* Find the [release on
GitHub](https://github.com/ibis-project/ibis-bigquery/releases) using
the tag created earlier.

* TODO: copy release notes.
* Verify the release notes.
* Upload wheel and source zip from `dist/` directory.

* Do a pull-request to the feedstock on
Expand Down

0 comments on commit 1acce1f

Please sign in to comment.