Skip to content

Commit

Permalink
change create and publish release name and fix release stage output v…
Browse files Browse the repository at this point in the history
…ariable and display name tag variable
  • Loading branch information
BrendonButler committed Aug 18, 2023
1 parent 0a7560b commit 6367714
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create Release
name: Create and Publish Release

on:
push:
Expand Down Expand Up @@ -40,6 +40,7 @@ jobs:
tag: ${{ steps.previous-tag.outputs.tag }}

- name: Determine Release Stage
id: release-stage
run: |
tag=${{ steps.previous-tag.outputs.tag }}
lowercase_tag=$(echo "$tag" | tr '[:upper:]' '[:lower:]')
Expand All @@ -62,8 +63,8 @@ jobs:
game_endpoint: bukkit
relations: vault:requiredDependency,essentialsx:optionalDependency
game_versions: 'Minecraft 1.18:1.18.2,Minecraft 1.19:1.19.4,Minecraft 1.20:1.20.1,Java 17'
release_type: ${{ steps.create-release.outputs.release_stage }}
display_name: Shops ${{ needs.publish-release.outputs.previous-tag }}
release_type: ${{ steps.release-stage.outputs.release_stage }}
display_name: Shops ${{ steps.previous-tag.outputs.tag }}
#changelog: TODO: ADD GENERATED CHANGELOG
#changelog_type: markdown
project_id: 873479
Expand Down

0 comments on commit 6367714

Please sign in to comment.