Skip to content

Commit

Permalink
L-168 Combine releasing and autotagging (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrHeinz authored Oct 4, 2023
1 parent 36de70f commit f5b02e2
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 f5b02e2

Please sign in to comment.