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

Build assets on release #6982

Merged
merged 3 commits into from
Sep 27, 2023
Merged

Conversation

yguedidi
Copy link
Contributor

@yguedidi yguedidi commented Sep 25, 2023

Assuming the release script is used only through the GitHub action

similar to wallabag/docker#362 but for ZIP releases

Comment on lines +32 to +36
- name: "Install Node"
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "yarn"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

copied from the Assets workflow haha

Comment on lines +13 to +14
cd "$TMP_FOLDER"/"$RELEASE_FOLDER"/"$VERSION" && yarn install --non-interactive
cd "$TMP_FOLDER"/"$RELEASE_FOLDER"/"$VERSION" && yarn run --non-interactive build:prod
Copy link
Contributor Author

Choose a reason for hiding this comment

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

tested those commands locally and they work

Copy link
Member

@j0k3r j0k3r left a comment

Choose a reason for hiding this comment

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

Shouldn't you remove the assets from git then? And maybe also remove the assets workflow?

@j0k3r j0k3r added this to the 2.7.0 milestone Sep 27, 2023
@yguedidi
Copy link
Contributor Author

Shouldn't you remove the assets from git then? And maybe also remove the assets workflow?

@j0k3r yes! but wanted to have this merged first and see it working in the next release before cleaning the code :)
I can of course clean now if you want!

@j0k3r
Copy link
Member

j0k3r commented Sep 27, 2023

I think you can clean it right now :)

@yguedidi
Copy link
Contributor Author

@j0k3r answering you I realize that with assets still in the repo the release will work anyway... 😅 so I'll clean now

@yguedidi yguedidi merged commit d21ccc1 into wallabag:master Sep 27, 2023
18 checks passed
@yguedidi yguedidi deleted the build-assets-on-release branch September 27, 2023 18:33
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.

None yet

2 participants