Skip to content

Commit 6e1874a

Browse files
committed
chore(ci): fixes for publication of release
1 parent b67e319 commit 6e1874a

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ jobs:
144144
run: "./gradlew -PreleaseBinariesRootDir=app/build/collected-binaries prepareReleaseBinaryZips"
145145
- name: "Prepare jreleaser for distribution"
146146
run: "./gradlew prepareJReleaserConfig"
147+
env:
148+
JRELEASER_CHOCOLATEY_USER: ${{ secrets.CHOCO_USER }} #manually extracted in jreleaser.yml
147149
- name: "Dry-run choco distribution"
148150
if: "${{ matrix.platform.name == 'windows-x86_64' }}"
149151
uses: jreleaser/release-action@v2

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ jobs:
9595
run: echo "VERSION=$(./gradlew changelogPrintCurrentVersion -Prelease=true --quiet)" >> "$GITHUB_OUTPUT"
9696
- name: "Prepare jreleaser for distribution"
9797
run: "./gradlew prepareJReleaserConfig"
98+
env:
99+
JRELEASER_CHOCOLATEY_USER: ${{ secrets.CHOCO_USER }} #manually extracted in jreleaser.yml
98100
- name: "Publish distributions"
99101
uses: jreleaser/release-action@v2
100102
with:
@@ -134,6 +136,10 @@ jobs:
134136
with:
135137
# no name - download all artifacts
136138
path: "app/build/collected-binaries"
139+
- name: "Prepare jreleaser for distribution"
140+
run: "./gradlew prepareJReleaserConfig"
141+
env:
142+
JRELEASER_CHOCOLATEY_USER: ${{ secrets.CHOCO_USER }} #manually extracted in jreleaser.yml
137143
- name: "Publish distributions"
138144
uses: jreleaser/release-action@v2
139145
with:

CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
9-
109
### Added
11-
1210
- Initial version of the CLI
1311
- Supported formatters (in alphabetical order):
1412
- clang-format

0 commit comments

Comments
 (0)