Skip to content

Commit

Permalink
L-168 Combine releasing and autotagging
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrHeinz committed Oct 4, 2023
1 parent 36de70f commit 77ae749
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 21 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/autotag.yml

This file was deleted.

13 changes: 11 additions & 2 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Releases

on:
push:
tags:
- '*'
branches: main

jobs:
release:
Expand All @@ -26,7 +25,17 @@ jobs:
- name: Build ZIP archive
run: npm run build

- name: Tag new version
id: tagger
uses: phish108/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN}}
bump: minor
with-v: true
release-branch: main

- name: Create release on Github
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tagger.outputs.new-tag }}
artifacts: build/logtail-aws-lambda.zip

0 comments on commit 77ae749

Please sign in to comment.