Skip to content

Publish ansa-core-ios v0.25.0 #50

Publish ansa-core-ios v0.25.0

Publish ansa-core-ios v0.25.0 #50

Workflow file for this run

name: Create release on version change
on:
push:
branches: [main]
paths:
- 'RELEASE'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Checkout to grab version
# Can also specify if this should be a draft or a pre-release as well
run: echo "RELEASE_VERSION=$(grep -rH "VERSION" RELEASE | cut -d = -f2)" >> $GITHUB_ENV
- name: Create Release
id: release-snapshot
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
with:
tag_name: ${{ env.RELEASE_VERSION }}
release_name: "v${{ env.RELEASE_VERSION }}"
draft: false
prerelease: false