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

Commit 1acce1f

Browse files
authored
ci: configure release-please (#43)
* ci: configure release-please * use main branch
1 parent 2ff42c3 commit 1acce1f

File tree

6 files changed

+28
-8
lines changed

6 files changed

+28
-8
lines changed

.github/release-please.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
primaryBranch: main
2+
releaseLabels: run-ci
3+
handleGHRelease: true

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Main
22

33
on:
44
push:
5-
branches: master
5+
branches: main
66
pull_request:
7-
branches: master
7+
branches: main
88
schedule:
99
- cron: 0 3 * * *
1010

.github/workflows/system-tests-pr.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,9 @@ jobs:
5656

5757
- name: run tests
5858
run: GOOGLE_BIGQUERY_PROJECT_ID="ibis-gbq" GOOGLE_APPLICATION_CREDENTIALS="$HOME/secrets/gcloud-service-key.json" python -m pytest tests/system
59+
60+
# Remove the label so that it can be added again to re-trigger a build
61+
- name: reset label
62+
uses: actions-ecosystem/action-remove-labels@v1
63+
with:
64+
labels: run-ci

.github/workflows/system-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: System Tests
22

33
on:
44
push:
5-
branches: master
5+
branches: main
66
schedule:
77
- cron: 0 2 * * *
88

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog
2+
3+
[PyPI History][1]
4+
5+
[1]: https://pypi.org/project/ibis-bigquery/#history

release-procedure.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11

2-
* Update version string in `ibis_bigquery/version.py`. TODO: add release date
3-
to CHANGELOG, too.
2+
* Review and merge PR from `release-please`. Check that it:
3+
* Updates version string in `ibis_bigquery/version.py`.
4+
* Includes all expected changes in `CHANGELOG.md`.
5+
6+
* Checkout the code.
7+
8+
git fetch upstream --tags
9+
git checkout vA.B.C
410

511
* Build the package
612

@@ -24,11 +30,11 @@
2430
twine upload dist/*
2531

2632

27-
* Create the [release on
28-
GitHub](https://github.com/ibis-project/ibis-bigquery/releases/new) using
33+
* Find the [release on
34+
GitHub](https://github.com/ibis-project/ibis-bigquery/releases) using
2935
the tag created earlier.
3036

31-
* TODO: copy release notes.
37+
* Verify the release notes.
3238
* Upload wheel and source zip from `dist/` directory.
3339

3440
* Do a pull-request to the feedstock on

0 commit comments

Comments
 (0)