Skip to content

feat: another approach #5

feat: another approach

feat: another approach #5

Workflow file for this run

name: Versioning
on:
push:
branches:
- main
jobs:
versioning:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Get current version
id: version
run: |
VERSION=$(grep -oP 'Version: \K.*' archcrystal.sh)
echo "::set-output name=version::$VERSION"
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.version.outputs.version }}
release_name: Release ${{ steps.version.outputs.version }}
draft: false
prerelease: false