Skip to content

Commit

Permalink
Fixes workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
phkaeser committed Nov 8, 2024
1 parent 05ff29e commit a155cd2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/package-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Create source package for release
# Needing this, because wlmaker uses submodules, and github source package
# creation will not include submodules -- and cannot be tuned for that.
# See: https://github.com/phkaeser/wlmaker/issues/133

on:
push:
Expand Down Expand Up @@ -26,6 +29,8 @@ jobs:

- name: Setup environment.
run: |
echo "We have ${GITHUB_REF}"
echo "And ${GITHUB_REF#refs/tags/}"
tag_or_branch="${GITHUB_REF#refs/tags/}"
tag_or_branch="${tag_or_branch#refs/heads/}"
echo "WLM_RELEASE_NAME=wlmaker-$(echo $tag_or_branch | sed "s/^v//")" >> "$GITHUB_ENV"
Expand Down

0 comments on commit a155cd2

Please sign in to comment.