Loading .github/workflows/version_bump.yml +3 −0 Original line number Diff line number Diff line Loading @@ -53,12 +53,15 @@ jobs: fi echo "::set-output name=new-version::$NEW_VERSION" echo "::set-output name=current-version::$CURRENT_VERSION" - name: Update version in setup.py if: steps.bump-type.outputs.bump-type != 'null' run: sed -i "s/${{ steps.new-version.outputs.current-version }}/${{ steps.new-version.outputs.new-version }}/g" setup.py - name: Update version in meta.yaml if: steps.bump-type.outputs.bump-type != 'null' run: sed -i "s/${{ steps.new-version.outputs.current-version }}/${{ steps.new-version.outputs.new-version }}/g" conda/meta.yaml - name: Commit bump if: steps.bump-type.outputs.bump-type != 'null' uses: EndBug/add-and-commit@v7 Loading Loading
.github/workflows/version_bump.yml +3 −0 Original line number Diff line number Diff line Loading @@ -53,12 +53,15 @@ jobs: fi echo "::set-output name=new-version::$NEW_VERSION" echo "::set-output name=current-version::$CURRENT_VERSION" - name: Update version in setup.py if: steps.bump-type.outputs.bump-type != 'null' run: sed -i "s/${{ steps.new-version.outputs.current-version }}/${{ steps.new-version.outputs.new-version }}/g" setup.py - name: Update version in meta.yaml if: steps.bump-type.outputs.bump-type != 'null' run: sed -i "s/${{ steps.new-version.outputs.current-version }}/${{ steps.new-version.outputs.new-version }}/g" conda/meta.yaml - name: Commit bump if: steps.bump-type.outputs.bump-type != 'null' uses: EndBug/add-and-commit@v7 Loading