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

[release] Release from this repo is quite manual #13

Open
prabhu opened this issue Mar 12, 2024 · 4 comments
Open

[release] Release from this repo is quite manual #13

prabhu opened this issue Mar 12, 2024 · 4 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@prabhu
Copy link
Member

prabhu commented Mar 12, 2024

We need to bump up the version in a couple of files and manually create a tag for every depscan release. Probably need an automated way of releasing things.

@prabhu prabhu added good first issue Good for newcomers help wanted Extra attention is needed labels Mar 12, 2024
@saketjajoo
Copy link
Collaborator

saketjajoo commented Mar 13, 2024

Just a thought - If a PR is created for every new release with the body/title of the PR having a tag name (say vX.Y.Z) we can use GitHub Actions to create a release (modifying the necessary files with the updated version/tag as a part of the action) once the PR gets merged. That action can also create a new tag before creating/publishing a release.

Note: It seems that creating a release cannot be fully automated currently because they require a tag to be created (either manually or via a script [perhaps GitHub Actions - which will require a trigger (say a PR)]. If we have a PR for creating a release, it can take care of creating a new tag and then a new release.

@prabhu
Copy link
Member Author

prabhu commented Mar 13, 2024

@saketjajoo, good thinking. perhaps we clone this repo and use git tag from an action in depscan?

@saketjajoo
Copy link
Collaborator

saketjajoo commented Mar 13, 2024

@saketjajoo, good thinking. perhaps we clone this repo and use git tag from an action in depscan?

This may require adding a PAT in both the repos (depscan and depscan-bin) as the default GITHUB_TOKEN may not be privileged enough to create a tag from the depscan repo to the depscan-bin repo.

@prabhu
Copy link
Member Author

prabhu commented Mar 13, 2024

Let's revisit this later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants