automatically hide stable versions on release

This commit is contained in:
Nate Sesti 2024-08-19 16:25:20 -07:00
parent f3a74705b8
commit 12d910d877
2 changed files with 5 additions and 2 deletions

View file

@ -199,10 +199,10 @@ jobs:
shell: bash
run: |
cd ../../extensions/intellij/build/distributions
echo "Builds:"
echo "Contents of distributions folder:"
ls
echo "---"
FILENAME=`ls *.zip`
FILENAME=`ls continue-intellij-extension-*.zip`
unzip "$FILENAME" -d content
echo "filename=${FILENAME%.????}" >> $GITHUB_OUTPUT

View file

@ -144,5 +144,8 @@ tasks {
// Specify pre-release label to publish the plugin in a custom Release Channel automatically. Read more:
// https://plugins.jetbrains.com/docs/intellij/deployment.html#specifying-a-release-channel
channels.set(listOf(environment("RELEASE_CHANNEL").getOrElse("eap")))
// We always hide the stable releases until a few days of EAP have proven them stable
hidden = environment("RELEASE_CHANNEL").map { it == "stable" }.getOrElse(false)
}
}