Skip to content

Commit

Permalink
split the tag information
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmysun0815 committed Jun 11, 2022
1 parent 6371539 commit d952c41
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/Fn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,18 @@ jobs:
run: |
make build_musl_fn_macos
- name: Create release
uses: "marvinpinto/action-automatic-releases@latest"
- name: prepare the tag infomation
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: |
echo "REF: ${GITHUB_REF}"
TAGS=$(grep "refs/tags" <<< ${GITHUB_REF}) || true
TAGV="${TAGS#refs/tags/}"
echo "Tag: ${TAGV}"
- name: Create release
uses: "marvinpinto/action-automatic-releases@latest"

with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
Expand All @@ -56,4 +59,3 @@ jobs:
fn_macos

0 comments on commit d952c41

Please sign in to comment.