-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
23 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,30 +50,30 @@ jobs: | |
with: | ||
python-version: '3.10' | ||
|
||
# - name: Install dependencies | ||
# run: python -m pip install --upgrade pip setuptools wheel | ||
- name: Install dependencies | ||
run: python -m pip install --upgrade pip setuptools wheel | ||
|
||
# - name: Build package | ||
# run: python setup.py sdist bdist_wheel | ||
# | ||
# - name: Publish package | ||
# uses: pypa/gh-action-pypi-publish@release/v1 | ||
# with: | ||
# user: ${{ secrets.PYPI_USERNAME }} | ||
# password: ${{ secrets.PYPI_PASSWORD }} | ||
- name: Build package | ||
run: python setup.py sdist bdist_wheel | ||
|
||
- name: Publish package | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
user: ${{ secrets.PYPI_USERNAME }} | ||
password: ${{ secrets.PYPI_PASSWORD }} | ||
|
||
- name: Setup git credentials | ||
uses: oleksiyrudenko/gha-git-credentials@v2-latest | ||
with: | ||
name: 'reportportal.io' | ||
email: '[email protected]' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
# | ||
# - name: Tagging new version | ||
# id: newVersionTag | ||
# run: | | ||
# git tag -a ${{ env.RELEASE_VERSION }} -m "Release ${{ env.RELEASE_VERSION }}" | ||
# git push --tags | ||
|
||
- name: Tagging new version | ||
id: newVersionTag | ||
run: | | ||
git tag -a ${{ env.RELEASE_VERSION }} -m "Release ${{ env.RELEASE_VERSION }}" | ||
git push --tags | ||
- name: Checkout develop branch | ||
uses: actions/checkout@v4 | ||
|
@@ -108,13 +108,13 @@ jobs: | |
version: ${{ env.RELEASE_VERSION }} | ||
path: ./${{ env.CHANGE_LOG_FILE }} | ||
|
||
# - name: Create Release | ||
# id: createRelease | ||
# uses: ncipollo/release-action@v1 | ||
# with: | ||
# tag: ${{ env.RELEASE_VERSION }} | ||
# name: Release ${{ env.RELEASE_VERSION }} | ||
# body: ${{ steps.readChangelogEntry.outputs.changes }} | ||
- name: Create Release | ||
id: createRelease | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
tag: ${{ env.RELEASE_VERSION }} | ||
name: Release ${{ env.RELEASE_VERSION }} | ||
body: ${{ steps.readChangelogEntry.outputs.changes }} | ||
|
||
- name: Update version file | ||
id: versionFileUpdate | ||
|