Skip to content
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

chore(js): setup release flow #608

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

osipov-mit
Copy link
Member

No description provided.

@osipov-mit osipov-mit requested review from Zewasik and DennisInSky and removed request for Zewasik October 23, 2024 14:01
js/CHANGELOG.md Outdated
Copy link
Member

Choose a reason for hiding this comment

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

Why do you want this to be persisted in SCM and not generated by initiating a release via GH?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's just more customisable and I see no reason to include all commits not related to the js part

@@ -0,0 +1,77 @@
on:
push:
Copy link
Member

Choose a reason for hiding this comment

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

I thought you wanted to support the release trigger. Do you want to release on every merge into master regardless of changes?

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated. The release will only be triggered on commits affecting root package.json and there is a step that checks if the version has been changed

Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't we publish this binary as an artifact of a RS release?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes!
I will change the behaviour when it's done

if: env.skip != 'true'
run: |
git tag ${{ env.TAG_NAME }}
git push origin ${{ env.TAG_NAME }}
Copy link
Member

Choose a reason for hiding this comment

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

Don't you want to do at the very last point? Does the next action require the tag to exist?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's actually used in the very next step.

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.

2 participants