Skip to content

Commit

Permalink
Update dev docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alichtman committed Mar 21, 2020
1 parent d72b04b commit 7f90799
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/development-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@ Also, add any necessary tests for new code.
- Bump version in `shallow-backup/constants.py`

```bash
$ export SB_RELEASE_VERSION="v{VERSION}VERSION"
# From project root directory
$ export SB_VERSION="v$(python3 -c "from shallow_backup.constants import ProjInfo; print(ProjInfo.VERSION)")"
$ git checkout master && git pull
$ git tag -a $SB_RELEASE_VERSION -m "shallow-backup $SB_RELEASE_VERSION" && git push
$ git tag -a "$SB_VERSION" -m "shallow-backup $SB_VERSION" && git push
$ github_changelog_generator --user alichtman --project shallow-backup
$ ga . && gc -m "Add CHANGELOG for $SB_RELEASE_VERSION" && git push
$ ga . && gc -m "Add CHANGELOG for $SB_VERSION" && git push
$ rm -rf dist/* && python3 setup.py sdist
$ hub release create $SB_RELEASE_VERSION --file dist/shallow-backup-$SB_RELEASE_VERSION.tar.gz -m "shallow-backup $SB_RELEASE_VERSION"
$ hub release create $SB_VERSION --file dist/shallow-backup-$SB_VERSION.tar.gz -m "shallow-backup $SB_VERSION"
$ pypiup
```

Expand Down

0 comments on commit 7f90799

Please sign in to comment.