Skip to content

Bump golang.org/x/crypto from 0.0.0-20200709230013-948cd5f35899 to 0.17.0 #16

Bump golang.org/x/crypto from 0.0.0-20200709230013-948cd5f35899 to 0.17.0

Bump golang.org/x/crypto from 0.0.0-20200709230013-948cd5f35899 to 0.17.0 #16

Workflow file for this run

name: release
on:
pull_request:
types: [ labeled ]
branches:
- master
jobs:
prepare-release:
name: Prepare release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get current version
shell: bash
run: |
CURRENT_VERSION=$(awk '/libraryVersion =/ { gsub("\"",""); print $3 }' client.go)
echo "CURRENT_VERSION=$CURRENT_VERSION" >> $GITHUB_ENV
- uses: actions/checkout@v2
with:
repository: pusher/public_actions
path: .github/actions
- uses: ./.github/actions/prepare-version-bump
id: bump
with:
current_version: ${{ env.CURRENT_VERSION }}
- name: Push
shell: bash
run: |
sed -i'' -e 's/${{env.CURRENT_VERSION}}/${{steps.bump.outputs.new_version}}/' client.go
git add client.go CHANGELOG.md
git commit -m "Bump to version ${{ steps.bump.outputs.new_version }}"
git push