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

feat(cli): Add release pipeline (#297) #407

Closed

Conversation

Kiranchaudhary537
Copy link

@Kiranchaudhary537 Kiranchaudhary537 commented Aug 2, 2024

User description

Description

Give a summary of the change that you have made

Fixes #297

Dependencies

Mention any dependencies/packages used

Future Improvements

Mention any improvements to be done in future related to any file/feature

Mentions

Mention and tag the people

Screenshots of relevant screens

Add screenshots of relevant screens

Developer's checklist

  • My PR follows the style guidelines of this project
  • I have performed a self-check on my work

If changes are made in the code:

  • I have followed the coding guidelines
  • My changes in code generate no new warnings
  • My changes are breaking another fix/feature of the project
  • I have added test cases to show that my feature works
  • I have added relevant screenshots in my PR
  • There are no UI/UX issues

Documentation Update

  • This PR requires an update to the documentation at docs.keyshade.xyz
  • I have made the necessary updates to the documentation, or no documentation changes are required.

PR Type

enhancement, configuration changes


Description

  • Added a new GitHub Actions workflow (.github/workflows/deploy-cli.yml) for deploying the CLI.
  • Configured the workflow to trigger on pushes and pull requests to the main branch, specifically targeting changes in the apps/cli directory and the workflow file itself.
  • Included steps to:
    • Checkout the repository.
    • Set up Node.js version 20.
    • Install dependencies using pnpm.
    • Bump the version and generate a changelog using npm run release.
    • Publish the package to NPM.

Changes walkthrough 📝

Relevant files
Configuration changes
deploy-cli.yml
Add GitHub Actions workflow for CLI deployment                     

.github/workflows/deploy-cli.yml

  • Added a new GitHub Actions workflow for deploying the CLI.
  • Configured the workflow to trigger on pushes and pull requests to the
    main branch.
  • Included steps for checking out the repository, setting up Node.js,
    installing dependencies, bumping the version, generating a changelog,
    and publishing to NPM.
  • +39/-0   

    💡 PR-Agent usage:
    Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

    rajdip-b and others added 30 commits June 12, 2024 13:43
    ## [2.0.0](keyshade-xyz/keyshade@v1.4.0...v2.0.0) (2024-06-12)
    
    ### ⚠ BREAKING CHANGES
    
    * **api:** Refactor environment, [secure] and variable functionality
    
    ### 🚀 Features
    
    * **platform:** Workspace integrate ([keyshade-xyz#241](keyshade-xyz#241)) ([6107e7d](keyshade-xyz@6107e7d))
    
    ### 📚 Documentation
    
    * Fix broken links in README.md ([9266788](keyshade-xyz@9266788))
    * Modified environment-variable.md ([keyshade-xyz#256](keyshade-xyz#256)) ([4974756](keyshade-xyz@4974756))
    
    ### 🔧 Miscellaneous Chores
    
    * Added docker build and run commands to` package.json` ([keyshade-xyz#258](keyshade-xyz#258)) ([af61791](keyshade-xyz@af61791))
    * **api:** Fix inconsistencies in zod schema ([keyshade-xyz#240](keyshade-xyz#240)) ([f3a3632](keyshade-xyz@f3a3632))
    * **ci:** Update deploy web ([e80d47d](keyshade-xyz@e80d47d))
    * **docker:** Grant correct permissions to docker image ([keyshade-xyz#251](keyshade-xyz#251)) ([49546aa](keyshade-xyz@49546aa))
    * Update GitHub Action plugin versions  ([keyshade-xyz#263](keyshade-xyz#263)) ([020bbf6](keyshade-xyz@020bbf6))
    * Update package versions for release ([93785be](keyshade-xyz@93785be))
    
    ### 🔨 Code Refactoring
    
    * **api:** Refactor environment, [secure] and variable functionality ([keyshade-xyz#270](keyshade-xyz#270)) ([55a6d37](keyshade-xyz@55a6d37))
    * **api:** Replace for loop with array indexing while decrypting [secure]s during bulk fetch [keyshade-xyz#265](keyshade-xyz#265) ([keyshade-xyz#266](keyshade-xyz#266)) ([62a1731](keyshade-xyz@62a1731))
    * **api:** Update return type while fetching [secure]s and variables ([keyshade-xyz#264](keyshade-xyz#264)) ([fd36abd](keyshade-xyz@fd36abd))
    ## [2.1.0](keyshade-xyz/keyshade@v2.0.0...v2.1.0) (2024-06-27)
    
    ### 🚀 Features
    
    * **api:** Add `requireRestart` parameter ([keyshade-xyz#286](keyshade-xyz#286)) ([fb447a1](keyshade-xyz@fb447a1))
    * **cli:** Added CLI ([keyshade-xyz#289](keyshade-xyz#289)) ([1143d95](keyshade-xyz@1143d95))
    * **workflows:** Tag user on attempt's reply body ([9d01698](keyshade-xyz@9d01698))
    
    ### 🐛 Bug Fixes
    
    * **web:** Resolve encryption glitch in footer text  ([keyshade-xyz#267](keyshade-xyz#267)) ([2b5cb39](keyshade-xyz@2b5cb39))
    
    ### 📚 Documentation
    
    * added running-the-web-app.md ([keyshade-xyz#269](keyshade-xyz#269)) ([755ea12](keyshade-xyz@755ea12))
    Co-authored-by: Sawan Bhattacharya <[email protected]>
    Co-authored-by: Rajdip Bhattacharya <[email protected]>
    Samaresh-Das and others added 26 commits October 14, 2024 00:28
    @kriptonian1
    Copy link
    Contributor

    why is there 472 changed files, you are not supposed to commit everything, you only need to add the files you worked with

    @rajdip-b
    Copy link
    Member

    I agree, you should close this PR, and make your changes on a newer one.

    @rajdip-b
    Copy link
    Member

    Closing due to inactivity.

    @rajdip-b rajdip-b closed this Oct 18, 2024
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    CLI: Add release pipeline