github-release | Simple Github release command line tool | Command Line Interface library
kandi X-RAY | github-release Summary
kandi X-RAY | github-release Summary
Simple Github release command line tool
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of github-release
github-release Key Features
github-release Examples and Code Snippets
Community Discussions
Trending Discussions on github-release
QUESTION
I'm currently using the Release Drafter workflow that creates a draft release whenever a PR is merged into the develop
branch (staging). This creates a great draft but now I'm wanting to have it get published when develop is merged into master. When that takes place I need to update the release name and tag before publishing. Then send out a notification in our slack engineering channel.
What I can do:
- Setup the action on push into master.
- Get the latest draft release and then use that id as a ref.
- Publish using eregon/publish-release action.
- Send the slack message
What I missing:
- An Action that I can pass the release id and update the tag and name.
The name and tag will be the current date %Y.%m%.d-%H:%M
Here is the action YML I have created so far
...ANSWER
Answered 2021-May-17 at 15:55You can add a step that updates the release draft using Github's REST API:
QUESTION
how does one download the compiled file from a github project.
For example I was trying to download sandboxie and was taken here where I managed to download the zip, but there is no exe in the zip:
I then searched for the installation package via google and through https://m.majorgeeks.com/files/details/sandboxie.html managed to download the compiled exe. Checking the link location for the exe, it points to here:
How would I get from (1) to (2) without having to google for the compiled file. Is there a location I have to go in github or do I have run some commands? I am also not a familiar with compiling exe's from the source files.
...ANSWER
Answered 2021-Apr-17 at 15:36Actually you can't get from (1) to (2)
because they are not same repository.
This is the repository the second link came from repository if you go to Releases section releases you will find the downloading link in the assets.
To make sure that this is the same repository in the second link you will find repo_id=254327261
and it is the same id of the repo I gave you the link above
QUESTION
I am using CircleCI in order to build a Unity project. The build works, but I am trying to make use of the github-release orb in order to create a release on GitHub for the build. I have created a new separate job for this, so I needed to share data between the jobs. I am using persist_to_workspace in order to do that, as specified in the documentation, but the solution doesn't seem to work - I get the following error: "Could not ensure that workspace directory /root/project/Zipped exists".
For the workspace persist logic, I've added the following lines of code in my config.yml file:
working_directory: /root/project
- Inside the executor of the main jobpersist_to_workspace
- As a last command inside my main job's stepsattach_workspace
- As a beginning command inside my second job's steps
Here's my full config.yml file:
...ANSWER
Answered 2021-Feb-25 at 19:46If somebody ever encounters the same issue, try to avoid making use of the /root path. I've stored the artifacts somewhere inside /tmp/, and before storing artifacts, I've manually created the folder with chmod 777 by using mkdir
with the -m
flag to specify chmod permissions.
QUESTION
I'm trying to run a web app with maven, spring on a tomcat server in intelliji idea. And i get: Artifact crm-web:war exploded: Error during artifact deployment.
Loggs:
Caused by: java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContext SEVERE: Exception invoking method createStandardContext SEVERE: Exception invoking method manageApp
Here is project structure:
...ANSWER
Answered 2020-Nov-13 at 12:51I was able to solve the problem by moving all the necessary jars to the WEB-INF/lib folder. Turns out they were in a different directory
QUESTION
We have a private repo containing a Python project that is being built by setuptools on a CI/CD server and then the wheel artifact is being pushed back to Github as a release. This process works great, however getting the resulting wheel back into other build processes that require this as a dependancy does not seem so easy.
Our original process was using git submodules, however the wheel format is much better self contained, and the consuming project does not have to worry about relative paths, because the wheel is installed straight into site-packages.
The biggest issue has come with pulling and installing the wheel in any consuming projects. Adding the url of the wheel to the requirements.txt
gets pip to try to pull the wheel, but it then fails with the following:
ANSWER
Answered 2020-Apr-05 at 16:39There's a convenient way to authenticating the pull using a GitHub access token that will act pretty transparently across quite a few different tools that speak HTTP. This is the ~/.netrc file on most systems. Try the following:
QUESTION
I have a Github Action that builds Windows wheels. At the end of the build it installs the wheels to make sure everything's OK, but right now the version is hard coded in the filename. I saw this question that deals with releases, but I'd like to run this on every push to master to check that things are OK.
Right now there's a line in my action looks like this:
...ANSWER
Answered 2020-Jan-07 at 05:44This ended up being much simpler than I thought. You can just get the version from setup.py itself and use that.
QUESTION
I use a read-only deployment key to clone a private Github repo into a Docker container. However, it doesn't seem possible to use that same deployment key to download a file from a Release. In particular, downloading a file from a release only seems to be possible by using a personal access key. For instance, here is one such tool to do that:
https://github.com/gruntwork-io/fetch
It seems that all of these responses focus on using personal access tokens instead of deployment keys:
How do I download binary files of a GitHub release?
How to download GitHub Release from private repo using command line
However, I have yet to see anybody indicating that it is not possible. So am I just missing something? Is it possible to download a file from a release (or hell.. a whole release) using a deployment key (not a personal access key)?
I need to have a key that is not tied to one of the maintainer's user accounts and I hate the idea of creating some throw-away phantom user solely for the purpose of automating downloads. After all, the phantom account is going to be tied to somebody's account, and I don't like the idea of that.
...ANSWER
Answered 2019-Mar-30 at 17:51It's not possible to use a deployment key to download a release. A deployment key is an SSH key, and on GitHub, SSH functionality is limited to fetching and pulling.
When you want to download an archive, fetch a raw file, or perform any other action that uses HTTPS, you need HTTPS credentials. That can be a personal access token, or an OAuth token from an OAuth app enabled on your account. SSH keys can't be used for that, because they're for a different protocol.
The way it sounds like is probably best for you is by using an OAuth application which has access to the organization's account. That will help avoid the problem where a particular user leaves the organization.
You could also download the repository and use git archive
to produce an archive on your own (or extract just the files you want by combining it with tar
). That, of course, wouldn't be as efficient.
QUESTION
I am building Python wheels in my public GitHub repository using Azure Pipelines. I successfully add those as build artifacts in my .yml:
...ANSWER
Answered 2019-Feb-02 at 00:58The documentation says that tagSource
can be set to either 'auto'
or 'manual'
, but I came across a website saying 'Git tag'
was a value, so I tried that. Turns out that worked better:
QUESTION
I try build GeoNetwork opensource, but I have the following problem when I run "mvn clean install -DskipTests":
...ANSWER
Answered 2018-Dec-20 at 09:20Well, this should work:
- download jrebel-plugin from here
- go to /home/your_user/.m2/repository and copy the jar to org/zeroturnaround/jrebel-maven-plugin/1.1.5 directory (must exist)
Try to compile again.
EDIT
Go to your local pom.xml and change the line 1185 from: https://oss.sonatype.org/content/repositories/github-releases
to
QUESTION
I have a concourse pipeline that bumps a semver, publishes a release to a GitHub-release resource and publishes a message using a slack-notification resource. All is fine until I try to start using on_failure: and on_success: steps.
I moved the slack put to on_success without issue. But when I try to move the GitHub-release put to on_success set-pipeline returns the error:
resource 'github-release' is not used
I tried putting it in both on_failure and on_success but I still get the message.
Is there a way to only publish this release when the build is good?
...ANSWER
Answered 2017-Jul-11 at 15:35The on_success
and on_failure
only run a single step
of a pipeline. If you want to run multiple steps, you have to use one of the block steps
, such as do
or aggregate
to accomplish this.
For example:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install github-release
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page