Skip to content

Commit

Permalink
ci: tweaks to alpha/beta releases on dev branch (#57)
Browse files Browse the repository at this point in the history
- will release to github on both alpha/beta tags (prefixed)
- changes package name to not include "cata" since its comptible on both classic clients.
  - still only automatically releasing to for cata tho
  • Loading branch information
juemrami committed Jun 5, 2024
1 parent 27544bb commit 39648fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release_alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ jobs:
- name: Package and release
uses: BigWigsMods/[email protected]
with:
args: -g cata -n "{package-name}-{game-type}-{release-type}-{project-abbreviated-hash}"
args: -g cata -n "{package-name}-{release-type}-{project-abbreviated-hash}"

# Release as Alpha on github with the alpha tag
# Release as Alpha/Beta on dev working branch
# move this to a tag action at somepoint
- name: create GIT_TAG env variable
run: echo "GIT_TAG=`echo $(git tag --points-at HEAD)`" >> $GITHUB_ENV

- name: Create alpha github release
uses: softprops/action-gh-release@v2
if: ${{ startsWith(env.GIT_TAG, 'alpha')}}
if: ${{ startsWith(env.GIT_TAG, 'alpha') || startsWith(env.GIT_TAG, 'beta')}}
with:
tag_name: ${{ env.GIT_TAG }}
files: ./.release/*.zip
Expand Down

0 comments on commit 39648fe

Please sign in to comment.