Skip to content

Commit

Permalink
Merge pull request #488 from danger/f-meloni-patch-19
Browse files Browse the repository at this point in the history
Create Job to automatically make a release when a tag is pushed
  • Loading branch information
f-meloni authored Nov 27, 2021
2 parents bb36b09 + eba2085 commit cde0326
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the workflow will run
on:
push:
tags:
- '*'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Export tag version
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV

- name: Create release
run: ./Scripts/release_changelog.sh

0 comments on commit cde0326

Please sign in to comment.