Skip to content

Commit 9e58af8

Browse files
committed
publish workflow
Signed-off-by: shalom <[email protected]>
1 parent 94a1ed0 commit 9e58af8

File tree

3 files changed

+14
-23
lines changed

3 files changed

+14
-23
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ jobs:
5858
uses: gradle/[email protected]
5959

6060
# Set environment variables
61+
# the original template feeds the whole changelog history to the release draft. we don't need it,
62+
# and we don't keep a changelog file in the repository
63+
# CHANGELOG="$(./gradlew getChangelog --unreleased --no-header --console=plain -q)"
64+
# CHANGELOG="${CHANGELOG//'%'/'%25'}"
65+
# CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
66+
# CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
67+
# echo "::set-output name=changelog::$CHANGELOG"
6168
- name: Export Properties
6269
id: properties
6370
shell: bash
@@ -66,16 +73,8 @@ jobs:
6673
VERSION="$(echo "$PROPERTIES" | grep "^version:" | cut -f2- -d ' ')"
6774
NAME="$(echo "$PROPERTIES" | grep "^pluginName:" | cut -f2- -d ' ')"
6875
69-
# the original template feeds the whole changelog history to the release draft. we don't need it,
70-
# and we don't keep a changelog file in the repository
71-
# CHANGELOG="$(./gradlew getChangelog --unreleased --no-header --console=plain -q)"
72-
# CHANGELOG="${CHANGELOG//'%'/'%25'}"
73-
# CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
74-
# CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
75-
7676
echo "::set-output name=version::$VERSION"
7777
echo "::set-output name=name::$NAME"
78-
# echo "::set-output name=changelog::$CHANGELOG"
7978
echo "::set-output name=pluginVerifierHomeDir::~/.pluginVerifier"
8079
8180
./gradlew listProductsReleases # prepare list of IDEs for Plugin Verifier
@@ -166,7 +165,3 @@ jobs:
166165
--draft \
167166
--title "v${{ needs.build.outputs.version }}" \
168167
--notes "## $VERSION ATX_2 is reserved for patchChangelog"
169-
# --notes "$(cat << 'EOM'
170-
# ${{ needs.build.outputs.changelog }}
171-
# EOM
172-
# )"

CHANGELOG.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
<!-- Keep a Changelog guide -> https://keepachangelog.com -->
2-
3-
# digma-jetbrains-plugin Changelog
1+
# Changelog
42

53
## [Unreleased]
64

7-
## [0.0.16]
8-
### Added
9-
- Initial scaffold created from [IntelliJ Platform Plugin Template](https://github.com/JetBrains/intellij-platform-plugin-template)
5+
- Example item
106

build.gradle.kts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,11 @@ tasks {
106106
)
107107

108108
// Get the latest available change notes from the changelog file
109-
// changeNotes.set(provider {
110-
// changelog.run {
111-
// getOrNull(properties("pluginVersion")) ?: getLatest()
112-
// }.toHTML()
113-
// })
109+
changeNotes.set(provider {
110+
changelog.run {
111+
getOrNull(properties("pluginVersion")) ?: getLatest()
112+
}.toHTML()
113+
})
114114
}
115115

116116
// Configure UI tests plugin

0 commit comments

Comments
 (0)