Skip to content

Merge pull request #10 from aldochaconc/refactor/user-packages #10

Merge pull request #10 from aldochaconc/refactor/user-packages

Merge pull request #10 from aldochaconc/refactor/user-packages #10

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