Skip to content

Commit

Permalink
Merge pull request #31 from smartystreets/workflow-update
Browse files Browse the repository at this point in the history
Add workflow to update release with tag
  • Loading branch information
RyanLCox1 authored Aug 4, 2023
2 parents bfbe96f + 8c82225 commit c98bd02
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Update Release

on:
push:
tags:
- '*'
- '!**-dev**'


jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set Version
id: set_version
run: |
echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
shell: bash

- name: Create Release
run: |
gh release create ${{ env.VERSION }} --title "Release ${{ env.VERSION }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c98bd02

Please sign in to comment.