Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelfolaron authored Feb 18, 2025
1 parent 606be4d commit db913f8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ jobs:
release_version: ${{ steps.version.outputs.version }}
config_file: .github/changelogConfig.yml
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Extract Repo Attributes
id: attrs
uses: ibnesayeed/repo-attrs@master

- name: release
uses: ncipollo/release-action@v1
id: create_release
Expand Down Expand Up @@ -67,6 +69,7 @@ jobs:
```
env:
GITHUB_TOKEN: ${{ github.token }}

- name: upload zip
uses: actions/upload-release-asset@v1
env:
Expand All @@ -76,6 +79,7 @@ jobs:
asset_path: ./target/Leantime-v${{ steps.version.outputs.version }}.zip
asset_name: Leantime-v${{ steps.version.outputs.version }}.zip
asset_content_type: application/gzip

- name: upload tar
uses: actions/upload-release-asset@v1
env:
Expand All @@ -85,3 +89,14 @@ jobs:
asset_path: ./target/Leantime-v${{ steps.version.outputs.version }}.tar.gz
asset_name: Leantime-v${{ steps.version.outputs.version }}.tar.gz
asset_content_type: application/gzip

- name: Run latest-tag
uses: EndBug/latest-tag@latest
with:
# You can change the name of the tag or branch with this input.
# Default: 'latest'
ref: latest

# If a description is provided, the action will use it to create an annotated tag. If none is given, the action will create a lightweight tag.
# Default: ''
description: Latest Release of Leantime.

0 comments on commit db913f8

Please sign in to comment.