Skip to content

Commit

Permalink
tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-elg committed Jul 11, 2023
1 parent beeee15 commit 13a6af4
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Release

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

Expand All @@ -29,18 +27,14 @@ jobs:
- name: Build Electron app
run: npm run build

- name: Get latest tag
uses: actions-ecosystem/action-get-latest-tag@v1
id: get-latest-tag

- name: Create release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.get-latest-tag.outputs.tag_name }}
release_name: Release ${{ steps.get-latest-tag.outputs.tag_name }}
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}

- name: Upload RPM
uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit 13a6af4

Please sign in to comment.