Skip to content

Instantly share code, notes, and snippets.

@sammyrulez
Created September 24, 2020 04:43
Show Gist options
  • Save sammyrulez/1821f2d460ae7636ca13a371dbab870e to your computer and use it in GitHub Desktop.
Save sammyrulez/1821f2d460ae7636ca13a371dbab870e to your computer and use it in GitHub Desktop.
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout
uses: actions/checkout@v2
- id: next_version
uses: zwaldowski/semver-release-action@v1
with:
bump: patch
prefix: api_server_v
github_token: ${{ secrets.GITHUB_TOKEN }}
- run: |-
cd api_server
echo "__vesrion__='${{ steps.next_version.outputs.version }}''\n" > ./amazon_scraper/__init__.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment