Skip to content

Commit

Permalink
Use vYY.MM.DD prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Dec 16, 2020
1 parent 66fd504 commit 2cd8dc0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ jobs:
- name: Sanity check for tag and version
run: |
export VERSION=${{ needs.info.outputs.version }}
if [ "${{ github.ref }}" != "refs/tags/$VERSION" ]
if [ "${{ github.ref }}" != "refs/tags/v$VERSION" ]
then
echo "Git tag '${{ github.ref }}' differs from hard-coded package version '$VERSION'"
echo "Git tag '${{ github.ref }}' differs from hard-coded package version 'v$VERSION'"
exit 1
else
echo "OK, git tag matches hard-coded package version: '$VERSION'"
echo "OK, git tag matches hard-coded package version: 'v$VERSION'"
fi
- name: Install python
uses: actions/setup-python@v2
Expand Down
4 changes: 2 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ Suppose, today is October 15, 2020, and we want to update both neuro-extras pip
- wait for green build in [Actions](https://github.com/neuro-inc/neuro-extras/actions);

2. Submit a release on GitHub.
- go to [Releases](https://github.com/neuro-inc/neuro-extras/releases/), `Draft a new release`, tag: `20.10.15` (note: no postfixes);
- go to [Releases](https://github.com/neuro-inc/neuro-extras/releases/), `Draft a new release`, tag: `v20.10.15` (note: no postfixes);
- wait for green build in [Actions](https://github.com/neuro-inc/neuro-extras/actions);
- if the build failed, fix the errors and repeat from step 1. with version postfix: `20.10.15-1`.
- if the build failed, fix the errors and repeat from step 1. with version postfix: `v20.10.15-1`.
- verify that `pip install -U neuro-extras` does install `neuro-extras==20.10.15`


Expand Down

0 comments on commit 2cd8dc0

Please sign in to comment.