Skip to content

v3.17.0

v3.17.0 #54

Workflow file for this run

name: Release
on:
release:
types: [published]
jobs:
alidist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
repository: 'alisw/alidist'
- name: Change version in recipe
run: |
set +x
CURRENT_VERSION=`cat monitoring.sh | grep "tag:" | awk '{print $2}'`
sed -i "s/${CURRENT_VERSION}/${{ github.event.release.tag_name }}/g" monitoring.sh
- name: Create PR in alidist
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.PAT }}
commit-message: Bump monitoring
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
branch: monitoring-${{ github.event.release.tag_name }}
body: Auto-generated PR for the following release ${{ github.event.release.html_url }}
title: Bump monitoring to ${{ github.event.release.tag_name }}