Skip to content

Release inko v0.13.1 #16

Release inko v0.13.1

Release inko v0.13.1 #16

Workflow file for this run

---
name: Release
run-name: |
Release ${{ inputs.name }} v${{ inputs.version }}
on:
workflow_dispatch:
inputs:
name:
description: 'The name of the package to release'
required: true
version:
description: 'The version to release'
required: true
jobs:
test:
runs-on: ubuntu-latest
container:
image: ghcr.io/inko-lang/aur:main
steps:
- uses: actions/checkout@v4
- name: Updating permissions
run: setfacl -R -m u:build:rwx .
- name: Running tests
run: bash scripts/test.sh "${{ inputs.name }}"
release:
needs:
- test
runs-on: ubuntu-latest
container:
image: ghcr.io/inko-lang/aur:main
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Updating permissions
run: setfacl -R -m u:build:rwx .
- name: Updating PKGBUILD
run: |
bash scripts/update.sh inko "${{ inputs.version }}"
- name: Updating AUR repository
run: |
bash scripts/aur.sh inko "${{ inputs.version }}" \
"${{ secrets.AUR_SSH_KEY }}"