Skip to content

Commit 7229532

Browse files
authored
Merge pull request #94 from PathwayCommons/add-release-instructions
Add release instructions
2 parents 32097da + 513229a commit 7229532

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: CI
55

66
on:
77
push:
8-
branches: [ master, develop ]
8+
branches: [ main, develop ]
99
pull_request:
10-
branches: [ master, develop ]
10+
branches: [ main, develop ]
1111

1212
jobs:
1313
build:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
![build](https://github.com/PathwayCommons/semantic-search/workflows/build/badge.svg)
2-
[![codecov](https://codecov.io/gh/PathwayCommons/semantic-search/branch/master/graph/badge.svg?token=K7444IQC9I)](https://codecov.io/gh/PathwayCommons/semantic-search)
2+
[![codecov](https://codecov.io/gh/PathwayCommons/semantic-search/branch/main/graph/badge.svg?token=K7444IQC9I)](https://codecov.io/gh/PathwayCommons/semantic-search)
33
[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
44
![GitHub](https://img.shields.io/github/license/PathwayCommons/semantic-search?color=blue)
55

setup.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
"""
2+
Simple check list for releasing
3+
4+
1. Bump `version` in `setup.py`
5+
2. Bump the corresponding `version` in `tests/test_semantic_search.py`
6+
4. Commit these changes with the message: ":bookmark: Release: v<version>"
7+
5. Add a tag in git to mark the release: "git tag v<version> -m 'Adds tag v<version> for release' "
8+
Push the tag to git: git push --tags origin main
9+
6. Optionally add some release notes to the tag in GitHub
10+
"""
11+
112
import setuptools
213

314
with open("README.md", "r") as fh:

0 commit comments

Comments
 (0)