Skip to content

2.22.0

2.22.0 #29

Workflow file for this run

on:
workflow_dispatch:
release:
types:
- published
name: Update release
jobs:
update-scoop:
name: Update scoop manifests
runs-on: windows-latest
steps:
- name: "Get latest release"
id: latest
uses: gregziegan/[email protected]
- name: Checkout
uses: actions/checkout@main
with:
ref: "develop"
- name: Update manifests
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: |
iex "& {$(irm get.scoop.sh)} -RunAsAdmin"
.\bin\checkver.ps1 * -u
echo "VENV_VERSION='${{ steps.latest.outputs.tag_name }}'" | Out-File -FilePath .\Casks\local_config.rb
- name: Create pull request
uses: peter-evans/create-pull-request@v5
with:
branch: "manifests/${{ steps.latest.outputs.tag_name }}"
title: "Update manifests to version ${{ steps.latest.outputs.tag_name }}"
body: "Update manifests to version ${{ steps.latest.outputs.tag_name }}."