Skip to content

Commit

Permalink
Named release (#4)
Browse files Browse the repository at this point in the history
* Named release

* s/v/sfos/g
  • Loading branch information
b100dian authored Nov 30, 2023
1 parent f0cfa66 commit f268fd9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build-release.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ name: Code checks
on:
push:
branches: [ master ]
tags:
- "sfos*"
pull_request:
branches: [ master ]

Expand Down Expand Up @@ -48,13 +50,13 @@ jobs:
- name: Build project
run: yarn build
- name: Bundle builded data
run: zip release.zip -r ./target/*
run: zip release-${{github.head_ref || github.ref_name}}.zip -r ./target/*
- name: Create Release
id: create_release
uses: marvinpinto/action-automatic-releases@latest
if: ${{ github.event_name != 'pull_request'}}
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: false
title: "Hydrogen-web fork for SFOS"
files: release.zip
files: release-${{github.head_ref || github.ref_name}}.zip

0 comments on commit f268fd9

Please sign in to comment.