Skip to content

Commit

Permalink
Replace CHANGELOG.md with hardcoded link to GitHub releases page (#73)
Browse files Browse the repository at this point in the history
Fixes: https://github.com/sourcegraph/sourcegraph/issues/57890

### Test plan

* Install plugin and open "What's New"
* Verify: description links to GitHub
  • Loading branch information
exigow authored Oct 30, 2023
1 parent c55e9fb commit 96292af
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 23 deletions.
15 changes: 0 additions & 15 deletions CHANGELOG.md

This file was deleted.

8 changes: 0 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -297,13 +297,6 @@ tasks {
.joinToString("\n")
.run { markdownToHTML(this) },
)

// Get the latest available change notes from the changelog file
changeNotes.set(
provider {
changelog.run { getOrNull(properties("pluginVersion")) ?: getLatest() }.toHTML()
},
)
}

buildPlugin {
Expand Down Expand Up @@ -367,7 +360,6 @@ tasks {
}

publishPlugin {
dependsOn("patchChangelog")
token.set(System.getenv("PUBLISH_TOKEN"))
// pluginVersion is based on the SemVer (https://semver.org) and supports pre-release labels,
// like 2.1.7-nightly
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<id>com.sourcegraph.jetbrains</id>
<name>Sourcegraph Cody + Code Search</name>
<vendor email="[email protected]" url="https://sourcegraph.com">Sourcegraph</vendor>
<change-notes><![CDATA[Update notes are available on <a href="https://github.com/sourcegraph/jetbrains/releases">GitHub</a>.]]></change-notes>

<!--
See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
Expand Down

0 comments on commit 96292af

Please sign in to comment.