9999 - name : Push Changes
100100 uses : ad-m/github-push-action@b87afee92c6e70ea888be6203a3e9426fda49839
101101 with :
102- # # ssh: true
102+ ssh : true
103103 atomic : true
104104 branch : main
105105 repository : ${{ github.repository }}
@@ -126,7 +126,7 @@ jobs:
126126 with :
127127 ref : main
128128 repository : ${{ github.repository }}
129- # # ssh-key: ${{ secrets.SALT_VMTOOLS_RELEASE_KEY }}
129+ ssh-key : ${{ secrets.SALT_VMTOOLS_RELEASE_KEY }}
130130
131131 - name : Configure Git
132132 shell : bash
@@ -146,6 +146,24 @@ jobs:
146146 CUT_RELEASE_VERSION=$(cat .cut_release_version)
147147 echo "CUT_RELEASE_VERSION=${CUT_RELEASE_VERSION}" >> "$GITHUB_ENV"
148148
149+ - name : Update linux/svtminion.sh sha256sum's
150+ run : |
151+ sha256sum linux/svtminion.sh | awk '{ print $1 }' > svtminion.sh.sha256
152+ sha256sum windows/svtminion.ps1 | awk '{ print $1 }' > svtminion.ps1.sha256
153+ ls -alh
154+ git add svtminion.sh.sha256
155+ git add svtminion.ps1.sha256
156+ git commit -am "Update sha256 checksums" || git commit -am "Update sha256 checksums"
157+
158+ - name : Push Changes
159+ uses : ad-m/github-push-action@b87afee92c6e70ea888be6203a3e9426fda49839
160+ with :
161+ ssh : true
162+ tags : true
163+ atomic : true
164+ branch : main
165+ repository : ${{ github.repository }}
166+
149167 - name : Tag The ${{ needs.update-main.outputs.release-version }} Release
150168 run : |
151169 git tag -f --no-sign -m "Release ${{ needs.update-main.outputs.release-version }}" -a ${{ needs.update-main.outputs.release-version }}
@@ -163,6 +181,8 @@ jobs:
163181 files : |
164182 linux/svtminion.sh
165183 windows/svtminion.ps1
184+ svtminion.sh.sha256
185+ svtminion.ps1.sha256
166186 LICENSE
167187
168188 - name : Delete Release Details Artifact
@@ -186,7 +206,7 @@ jobs:
186206 with :
187207 ref : main
188208 repository : ${{ github.repository }}
189- # # ssh-key: ${{ secrets.SALT_VMTOOLS_RELEASE_KEY }}
209+ ssh-key : ${{ secrets.SALT_VMTOOLS_RELEASE_KEY }}
190210
191211 - name : Get linux/svtminion.sh on main branch sha256sum
192212 run : |
@@ -197,7 +217,7 @@ jobs:
197217 with :
198218 ref : main
199219 repository : ${{ github.repository }}
200- # # ssh-key: ${{ secrets.SALT_VMTOOLS_RELEASE_KEY }}
220+ ssh-key : ${{ secrets.SALT_VMTOOLS_RELEASE_KEY }}
201221
202222 - name : Configure Git
203223 shell : bash
@@ -224,25 +244,7 @@ jobs:
224244 - name : Push Changes
225245 uses : ad-m/github-push-action@b87afee92c6e70ea888be6203a3e9426fda49839
226246 with :
227- # # ssh: true
228- atomic : true
229- branch : main
230- repository : ${{ github.repository }}
231-
232- - name : Update linux/svtminion.sh sha256sum's
233- run : |
234- sha256sum linux/svtminion.sh | awk '{ print $1 }' > svtminion.sh.sha256
235- sha256sum windows/svtminion.ps1 | awk '{ print $1 }' > svtminion.ps1.sha256
236- ls -alh
237- git add svtminion.sh.sha256
238- git add svtminion.ps1.sha256
239- git commit -am "Update sha256 checksums" || git commit -am "Update sha256 checksums"
240-
241- - name : Push Changes
242- uses : ad-m/github-push-action@b87afee92c6e70ea888be6203a3e9426fda49839
243- with :
244- # # ssh: true
245- tags : true
247+ ssh : true
246248 atomic : true
247249 branch : main
248250 repository : ${{ github.repository }}
0 commit comments