Skip to content

Publish prereleases#1158

Merged
datho7561 merged 1 commit intoredhat-developer:mainfrom
datho7561:1155-prereleases
Sep 30, 2025
Merged

Publish prereleases#1158
datho7561 merged 1 commit intoredhat-developer:mainfrom
datho7561:1155-prereleases

Conversation

@datho7561
Copy link
Contributor

What does this PR do?

Publishes nightly prerelease versions of vscode-yaml, using the latest yaml-language-server. Heavily inspired by https://github.com/redhat-developer/vscode-xml/blob/main/.github/workflows/release.yml

What issues does this PR fix or reference?

Fixes #1155

Is it tested? How?

I tested that the script I added to update the version number works, but the rest is tough to test without actually running the prelease.

Copy link
Member

@rgrunber rgrunber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I haven't tried it on a fork. Worth merging to get the pre-release going.

Just one thing. I think this will publish a new pre-release every day regardless of whether there's any new content. If you want to have it run daily, but only publish if there's actually new commits, you can add the following (sadly long) chunk :

https://github.com/redhat-developer/vscode-quarkus/blob/c88891dbadd94cb01190fef2a45ff028e2779826/.github/workflows/release.yml#L37-L63

It will provide an output of needs.should-build-change.outputs.repo-cache-hit, whose value is either true when there's a hit and can't be assumed to be anything else (ie. defined) otherwise.

@datho7561
Copy link
Contributor Author

Okay, I think I might as well add that from the start

Fixes redhat-developer#1155

Signed-off-by: David Thompson <davthomp@redhat.com>
@datho7561 datho7561 merged commit 2e69ade into redhat-developer:main Sep 30, 2025
1 of 3 checks passed
@datho7561 datho7561 deleted the 1155-prereleases branch September 30, 2025 13:02
@datho7561 datho7561 modified the milestone: 1.20.0 Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Publish prereleases

2 participants