refs TG-4: added autoReleaswe

This commit is contained in:
2026-05-03 12:05:25 +03:00
parent e95021c116
commit 3f73a70ca1
Vendored
+2 -2
View File
@@ -44,7 +44,7 @@ stage('Create Gitea Release') {
agent { label 'windows' }
steps {
withCredentials([string(credentialsId: 'GITEA_TOKEN', variable: 'GITEA_TOKEN')]) {
withCredentials([string(credentialsId: 'Gitea_Credentials', variable: 'GITEA_TOKEN')]) {
bat """
curl -X POST "https://git.grigowashere.ru/api/v1/repos/Grigo/Testing/releases" ^
-H "Authorization: token %GITEA_TOKEN%" ^
@@ -59,7 +59,7 @@ stage('Upload Artifact to Gitea Release') {
agent { label 'windows' }
steps {
withCredentials([string(credentialsId: 'GITEA_TOKEN', variable: 'GITEA_TOKEN')]) {
withCredentials([string(credentialsId: 'Gitea_Credentials', variable: 'GITEA_TOKEN')]) {
bat """
powershell -NoProfile -Command "Compress-Archive -Path dist\\windows\\* -DestinationPath dist\\windows-build.zip -Force"