Skip to content

Commit

Permalink
Set doc update on release action
Browse files Browse the repository at this point in the history
  • Loading branch information
dennys-bd committed Jun 5, 2023
1 parent ca6f009 commit ac7c0fe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 21 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,16 @@ jobs:
python-version: "3.8"
- name: Install dependencies
run: pip install --upgrade pip && pip install build twine
- name: set up env
run: echo "TAG=$(eval 'python setup.py version')" >> $GITHUB_ENV
- name: Build
run: make dist
- name: Release
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: twine upload dist/*
- uses: rickstaa/action-create-tag@v1
id: "tag_create"
with:
tag: ${{ env.TAG }}
19 changes: 0 additions & 19 deletions .github/workflows/tagger.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ Tapioca-Wrapper is ready for development with [Dev Container](https://code.visua
- Update the version in `tapioca/__init__.py`

#### Release:
- Run the github action [build](https://github.com/vintasoftware/tapioca-wrapper/actions/workflows/build-release.yml)
- Run the github action [release](https://github.com/vintasoftware/tapioca-wrapper/actions/workflows/release.yml)

#### Post release:
- Create tag with the version number to deploy the docs
- Check if docs were updated at [readthedocs](http://tapioca-wrapper.readthedocs.org/).

## Other resources

Expand Down

0 comments on commit ac7c0fe

Please sign in to comment.