Skip to content

Commit 38a3f01

Browse files
committed
add rpm workflow
1 parent 2446141 commit 38a3f01

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,17 @@ jobs:
7575
env:
7676
GITHUB_TOKEN: ${{ secrets.CLI_RELEASE }}
7777
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
78+
- name: Install createrepo_c
79+
run: brew install createrepo_c
7880
- name: Publish packages to APT repo
7981
if: contains(github.ref_name, '-') == false
8082
env:
8183
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
8284
GPG_PRIVATE_KEY_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
8385
run: ./scripts/publish-apt-packages.sh
86+
- name: Publish packages to RPM repo
87+
if: contains(github.ref_name, '-') == false
88+
env:
89+
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
90+
GPG_PRIVATE_KEY_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
91+
run: ./scripts/publish-rpm-packages.sh

.goreleaser.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,7 @@ winget:
165165
homepage: "https://github.com/stackitcloud/stackit-cli"
166166
# If set to auto, the release will not be uploaded to the homebrew tap repo
167167
# if the tag has a prerelease indicator (e.g. v0.0.1-alpha1)
168-
# Temporarily not skipping prereleases to test integration with Winget
169-
# skip_upload: auto
168+
skip_upload: auto
170169
repository:
171170
owner: stackitcloud
172171
name: winget-pkgs

0 commit comments

Comments
 (0)