Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install twine
pip install coverage
pip install pytest
Expand All @@ -41,14 +42,14 @@ jobs:
- name: "✏️ Generate release changelog"
uses: heinrichreimer/github-changelog-generator-action@v2.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}

- name: Check commit has been updated
run: |
git diff

- name: Build package
run: python setup.py sdist --formats=gztar,zip
run: python -m build

- name: Upload binaries to release
uses: xresloader/upload-to-github-release@v1
Expand All @@ -64,7 +65,7 @@ jobs:
git config --local user.email "action@github.com"
git config --local user.name "github-actions[bot]"
git commit -m "Bump version to ${{ steps.latest_prerelease.outputs.tag_name }}" -a

- name: Push changes
uses: ad-m/github-push-action@v0.6.0
with:
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Please note we have a code of conduct, please follow it in all your interactions
2. Increase the version number in the `mdutils/doc/source/config.py` file.
3. Increase the version number in the `mdutils/setup.py` file.
3. Increase the version number in the `mdutils/pyproject.toml` file.
4. Increate the version number in the `.github_changelog_generator` file.
4. Increase the version number in the `.github_changelog_generator` file.
5. Run `github_changelog_generator -u didix21 -p mdutils`.
6. Run `python setup.py sdist --formats=gztar,zip`.
6. Run `python -m build`.
7. Upload package to pypi: `twine upload dist/*`.