diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 3516bec..fb98681 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -53,7 +53,7 @@ jobs: cd nevermined-tools rm -rf "${HOME}/.nevermined/nevermined-contracts/artifacts" - export KEEPER_VERSION=develop + export KEEPER_VERSION=latest export GATEWAY_VERSION=develop # start nevermined with the compute stack diff --git a/.github/workflows/release-github.yml b/.github/workflows/release-github.yml index 794f2e4..279601b 100644 --- a/.github/workflows/release-github.yml +++ b/.github/workflows/release-github.yml @@ -1,21 +1,39 @@ -name: Github Release +name: GitHub Release on: push: tags: - - 'v*.*' + - "v*.*.*" jobs: - build: - runs-on: ubuntu-latest + release: + name: "Tagged Release" + runs-on: "ubuntu-latest" steps: - name: Checkout - uses: actions/checkout@v2 - - name: Release - uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/') + uses: actions/checkout@v3 + with: + fetch-depth: 0 + token: ${{ secrets.API_TOKEN_GITHUB }} + + # Build process + - uses: actions/setup-node@v3 + with: + node-version: "14.x" + + - name: Update CHANGELOG.md + id: changelog + run: | + npm install auto-changelog + npx auto-changelog + + - name: Commit CHANGELOG.md + uses: stefanzweifel/git-auto-commit-action@v4 with: - files: | - target/*.jar - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + commit_message: Automated CHANGELOG.md update + commit_options: "--no-verify --signoff" + file_pattern: CHANGELOG.md + branch: master + + - name: Publish Github Release + uses: softprops/action-gh-release@v1 diff --git a/setup.py b/setup.py index 787550d..0060142 100644 --- a/setup.py +++ b/setup.py @@ -20,8 +20,8 @@ 'pyopenssl', 'PyJWT', # not jwt 'PyYAML>=5.2', - 'common-utils-py==1.0.0-rc7', - 'contracts-lib-py==1.0.0-rc6', + 'common-utils-py==1.0.0', + 'contracts-lib-py==1.0.0', 'nevermined-secret-store==0.1.1', 'requests>=2.21.0', 'deprecated', @@ -90,6 +90,6 @@ test_suite='tests', tests_require=test_requirements, url='https://github.com/nevermined-io/sdk-py', - version='0.13.0', + version='0.14.0', zip_safe=False, )