Skip to content

Commit

Permalink
ci(github): create tag and release
Browse files Browse the repository at this point in the history
  • Loading branch information
lanathlor committed Dec 4, 2024
1 parent 1479dab commit 828b3e7
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Create release and tag

on:
push:
branches:
- main

jobs:
create-tag:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: get tag version
id: get_tag_version
run: |
cat version.txt
echo "version=$(cat version.txt)" >> $GITHUB_OUTPUT
- name: test
run: |
echo ${{ steps.get_tag_version.outputs.version }}
- name: Release snapshot
id: release-snapshot
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.get_tag_version.outputs.version }}
draft: false
prerelease: false

0 comments on commit 828b3e7

Please sign in to comment.