-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manual Stable Release #1862
Manual Stable Release #1862
Changes from all commits
3e1f31d
c584e5c
6b277ed
c70b342
848542e
d1ba296
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Stable Release | ||
on: | ||
workflow_dispatch | ||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: temurin | ||
java-version: 17 | ||
cache: gradle | ||
# See note about QEMU and binfmt requirement here https://github.com/vercel/pkg#targets | ||
- name: Set up QEMU | ||
id: qemu | ||
uses: docker/setup-qemu-action@v3 | ||
with: | ||
image: tonistiigi/binfmt:latest | ||
platforms: all | ||
- name: Gradle Wrapper Validation | ||
uses: gradle/wrapper-validation-action@v3 | ||
- run: yarn global add pnpm@8.6.7 | ||
- run: | | ||
echo "RELEASE_VERSION=$(./scripts/version-from-git-tag.sh)" >> $GITHUB_ENV | ||
- run: echo "Publishing version $RELEASE_VERSION" | ||
- run: ./gradlew "-PpluginVersion=$RELEASE_VERSION" publishPlugin | ||
env: | ||
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,4 @@ | ||
#!/usr/bin/env bash | ||
# This script implements the time-based version scheme from RFC 795 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why delete this, particularly since client releases are moving to be more aligned with Sourcegraph releases, not less? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The script does not work like the comment says. Also, we wanted "prettier" version numbers for GA. |
||
# Simplified: versions should be MAJOR.MINOR.PATCH where | ||
# - MAJOR.MINOR: Latest Sourcegraph quarterly release | ||
# - PATCH: time-based number from simplified formula (MINUTES_SINCE_LAST_RELEASE / MINUTES_IN_ONE_YEAR * 65535) | ||
# The scheme gives generates a unique version number every 10 minutes. | ||
# https://docs.google.com/document/d/11cw-7dAp93JmasITNSNCtx31xrQsNB1L2OoxVE6zrTc/edit#bookmark=id.ufwe0bqp83z1 | ||
set -eu | ||
|
||
# Check the number of arguments | ||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Preview:
https://github.com/sourcegraph/jetbrains/blob/848542ee2ad069caec2774fedcf40444be922c97/CONTRIBUTING.md#publishing-a-new-release