Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

Apply chore improvements; update latest ide version#2023

Merged
mkondratek merged 5 commits intomainfrom
mkondratek/chore/improve-scripts
Nov 4, 2024
Merged

Apply chore improvements; update latest ide version#2023
mkondratek merged 5 commits intomainfrom
mkondratek/chore/improve-scripts

Conversation

@mkondratek
Copy link
Copy Markdown
Contributor

@mkondratek mkondratek commented Aug 9, 2024

We need the GitHub releases and their links to look nice. A stable release should not include -nightly in the link. This PR will automatically push a new tag without the suffix so we will be able to use it to generate the release notes.

We cannot push from CI (without creating a token and setting it as a secret). Let's stick to the present process (manually push stable tag when needed).

Btw, I added a few minor improvements.

Test plan

  1. To test these changes we will need to do a stable release 😃
  2. N/A - these are only chore changes and improvements

@mkondratek mkondratek self-assigned this Aug 9, 2024
Comment thread .github/workflows/stable-release.yml Outdated
- run: |
echo "RELEASE_VERSION=$(./scripts/version-from-git-tag.sh)" >> $GITHUB_ENV
- run: echo "Publishing version $RELEASE_VERSION"
- run: git tag -a "RELEASE_VERSION" -m "RELEASE_VERSION" && git push origin "$RELEASE_VERSION"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think it will work on CI

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

you are right. let's stick to the current approach then

@mkondratek
Copy link
Copy Markdown
Contributor Author

Copy link
Copy Markdown
Contributor

@pkukielka pkukielka left a comment

Choose a reason for hiding this comment

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

I don't think it will work on CI

@mkondratek mkondratek changed the title Push a tag without suffixes on a stable release to use it for the GitHub release [DO NOT MERGE] Push a tag without suffixes on a stable release to use it for the GitHub release Aug 19, 2024
@mkondratek mkondratek marked this pull request as draft August 19, 2024 08:08
@mkondratek mkondratek force-pushed the mkondratek/chore/improve-scripts branch from f3bb2b1 to 04b64f4 Compare November 4, 2024 09:29
@mkondratek mkondratek marked this pull request as ready for review November 4, 2024 10:34
@mkondratek mkondratek changed the title [DO NOT MERGE] Push a tag without suffixes on a stable release to use it for the GitHub release Apply chore improvements; update latest ide version Nov 4, 2024
@mkondratek mkondratek force-pushed the mkondratek/chore/improve-scripts branch from 6638137 to a0ee32e Compare November 4, 2024 15:02
- 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"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why that change? :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this step was redundant

Copy link
Copy Markdown
Contributor

@pkukielka pkukielka left a comment

Choose a reason for hiding this comment

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

LGTM

@mkondratek mkondratek merged commit 8f474d6 into main Nov 4, 2024
@mkondratek mkondratek deleted the mkondratek/chore/improve-scripts branch November 4, 2024 23:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants