Skip to content

Commit 9da2f35

Browse files
committed
fix use of sha256 instead of sha1
.deploy
1 parent 42c7e15 commit 9da2f35

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/ci_cd.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,9 @@ jobs:
4040
cd illyriamc
4141
zip -r "../Illyria_v${{ steps.get_version.outputs.VERSION }}.zip" assets pack.mcmeta pack.png
4242
43-
- id: calculate_sha256
44-
name: Calculate SHA256
45-
run: |
46-
echo "SHA256=$(sha256sum "Illyria_v${{ steps.get_version.outputs.VERSION }}.zip" | awk '{ print $1 }')" >> $GITHUB_OUTPUT
43+
- id: calculate_sha1
44+
name: Calculate SHA1
45+
run: echo "SHA1=$(sha1sum "Illyria_v${{ steps.get_version.outputs.VERSION }}.zip" | awk '{ print $1 }')" >> $GITHUB_OUTPUT
4746

4847
- id: create_release
4948
name: Create Release
@@ -53,7 +52,7 @@ jobs:
5352
with:
5453
draft: ${{ contains(github.event.head_commit.message, '.draft') }}
5554
files: Illyria_v${{ steps.get_version.outputs.VERSION }}.zip
56-
body: "SHA-256 Hash: ${{ steps.calculate_sha256.outputs.SHA256 }}"
55+
body: "SHA-1 Hash: ${{ steps.calculate_sha1.outputs.SHA1 }}"
5756
generate_release_notes: true
5857
prerelease: ${{ contains(github.event.head_commit.message, '.pre') }}
5958
tag_name: ${{ steps.get_version.outputs.VERSION }}

illyriamc/pack.mcmeta

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"description": "\u00A78Adventure Awaits \n\u00A74By Illyria \u00A78for \u00A76MC 1.20.6 "
55
},
66
"version": {
7-
"name": "1.2.1"
7+
"name": "1.2.2"
88
}
99
}

0 commit comments

Comments
 (0)