create-release | An Action to create releases via the GitHub Release API | Continous Integration library

 by   actions JavaScript Version: v1.1.4 License: MIT

kandi X-RAY | create-release Summary

kandi X-RAY | create-release Summary

create-release is a JavaScript library typically used in Devops, Continous Integration applications. create-release has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can install using 'npm i @sula/create-release' or download it from GitHub, npm.

An Action to create releases via the GitHub Release API
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              create-release has a medium active ecosystem.
              It has 1230 star(s) with 257 fork(s). There are 23 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 38 open issues and 34 have been closed. On average issues are closed in 30 days. There are 18 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of create-release is v1.1.4

            kandi-Quality Quality

              create-release has no bugs reported.

            kandi-Security Security

              create-release has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              create-release is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              create-release releases are available to install and integrate.
              Deployable package is available in npm.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of create-release
            Get all kandi verified functions for this library.

            create-release Key Features

            No Key Features are available at this moment for create-release.

            create-release Examples and Code Snippets

            No Code Snippets are available at this moment for create-release.

            Community Discussions

            QUESTION

            Deploy Azure AppService to Url: 404 + no worker is assigned to the app service plan. The site cannot serve any requests
            Asked 2021-Feb-12 at 08:37

            I'm getting a 404 trying to access my azurewebsite.net

            My Resource group contains an AppServicePlan, an AppService, SQL Server & SQL Database, a KeyVault & SignalR.

            Locally everything works, the AppService is running, AppServicePlan is Ready (1App/0Slots), Connected Services for SignalR & SQL are configured (in the menu you get when right-clicking WebProject > Publish). KeyVault is configured & accessible. Not sure if these are problem free though, as I keep getting NuGet Errors, stating unable to update NuGet Package.

            When I right-click my WebProject & Publish, I get Message Publish has been succeeded. But when I click on the link, I get a 404.

            I'm working with two pipelines in AzureDevops

            Seeing as official documentation is always lagging behind and showing older interfaces, it has not been much of a help. I followed https://docs.microsoft.com/en-us/learn/modules/create-release-pipeline/5-deploy-to-appservice this tutorial, did everything stated, but the last step, I didn't get the desired result (an accessible website through azurewebsites.net).

            I have a Export template with all connected services configured (I guess generated by azure?) but don't really know what to do with it.

            Can anybody pinpoint what I am missing or doing wrong? Or tell me what else I would be needing, apart from the services I mentioned (like Certificates, Active Directory?) Do I need a gitHub repo next to AzureDevOps Repo & Azure Resources? Does publishing via VS interfere with my automated pipelinebuilds?

            Thanks!

            ...

            ANSWER

            Answered 2021-Feb-12 at 08:37

            You can try to deploy to Azure App Service in Azure DevOps directly. I used the sample you shared and worked well on my side. Here are my steps:

            1.Create the App Service instance in Azure and make sure the default home page is correct.

            2.Clone the sample from GitHub to Azure DevOps Repo.

            3.Change the deploy stage in the azure-pipelines.yml file on release branch and run pipeline. I removed variable groups and changed the configuration of AzureWebApp task:

            4.Browse the page in Azure. I can get the same page as in the tutorial.

            Source https://stackoverflow.com/questions/66157208

            QUESTION

            upload_url for GitHub's upload-release-asset action when the trigger is a release?
            Asked 2020-Dec-31 at 19:34

            I am trying to create a GitHub Action that is triggered when a release is published and will build my project and upload certain artefacts as release assets. The only examples I can find rely on using the create-release action, which fails as the release has already been created. My workflow file is like so:

            ...

            ANSWER

            Answered 2020-Dec-31 at 19:34

            You can access it on the event data in the github context:

            Source https://stackoverflow.com/questions/65521101

            QUESTION

            Upload a github action artifact to LATEST release
            Asked 2020-Jul-15 at 16:02

            I want to upload a artifact to latest release... without creating a new release.

            I started with github official action upload-release-asset to upload artifact.
            It requires a upload_url as an input which tells it the url of release.
            Which is generally taken from creating a release in previous step with create-release action.

            I tried to print output url from create_release-

            ...

            ANSWER

            Answered 2020-Jul-15 at 12:58

            I started with github official action upload-release-asset to upload artifact. It requires a upload_url as an input which tells it the url of release. Which is generally taken from creating a release in previous step with create-release action.

            Source https://stackoverflow.com/questions/62913098

            QUESTION

            Get current date and time in GitHub workflows
            Asked 2020-May-16 at 10:49

            I have a GitHub workflow for releasing nightly snapshots of the repository. It uses the create-release action. This is how the workflow file looks right now:

            ...

            ANSWER

            Answered 2020-Mar-31 at 02:18

            From this post you can create a step that set its output with the value $(date +'%Y-%m-%d')

            Then use this output using ${{ steps.date.outputs.date }}. The following show an example for environment variables and for inputs :

            Source https://stackoverflow.com/questions/60942067

            QUESTION

            How to pass the output of a bash command to Github Action parameter
            Asked 2020-Apr-16 at 19:26

            I have a workflow where after a push to master I want to create a release and upload an asset to it.
            I'm using actions/create-release@v1 and actions/upload-release-asset@v1.

            I would like to pass the outputs of a bash commands to the action parameters. However I found out the syntax of "$(command)" does not work.

            How can I pass the output of a bash command to an action's parameter.

            For example I'd like to do something like this:

            ...

            ANSWER

            Answered 2020-Apr-16 at 19:26

            I would create an environment variable based of your command output:

            Source https://stackoverflow.com/questions/61256824

            QUESTION

            Use GitHub Actions to create a tag but not a release
            Asked 2020-Apr-03 at 19:15

            Currently on my GitHub repository, I have the following workflow that releases a nightly snapshot every day, and uses the current date as release name and tag name:

            ...

            ANSWER

            Answered 2020-Apr-03 at 19:15

            I found this GitHub action that tags on demand. Using it, my workflow can be revised as such:

            Source https://stackoverflow.com/questions/60963759

            QUESTION

            How to avoid code duplication in Github Actions; are there some kind of loops in yaml?
            Asked 2020-Feb-06 at 11:31

            Background

            I'm writing a Github action to upload build artefacts on every new tag created. This have turned out to be fairly strait forward to do.

            However I wanted to upload the different variants as separate files to github's release page but couldn't figure out how to use a wildcard for this, and resorted to duplicating this sections with hardcoded filenames instead. To duplicate code with hardcoded filenames is error prone and not very future safe.

            I guess the question maybe boils down to how yml works: Could this have been done shorter with some kind of a loop or wildcard?

            This is the long code I ended up with:

            ...

            ANSWER

            Answered 2020-Feb-06 at 11:31

            Could this have been done shorter with some kind of a loop or wildcard?

            Yes, but not without investing some time to write code, which will probably cause you more work than it will save you.

            GitHub Actions itself does not support anything like loops according to the official documentation. This means that if you want to shorten the file, you need to write the code expanding the file yourself and apply it to the file before using it with GitHub Actions.

            You could go the way several other YAML-based tools (e.g. Ansible) go and use Python's Jinja2 templating engine to write loops. However, this is very awkward since you'll need to escape the GH Actions expressions as they use similar syntax.

            Probably a better way to go would be to create the data structure in Python (or any other scripting language that has YAML support) and dump it as YAML.

            I wouldn't recommend any of those approaches because of the entropy they add to your setup but it's definitely possible.

            Source https://stackoverflow.com/questions/60087486

            QUESTION

            How to pass variable between two successive GitHub Actions jobs?
            Asked 2019-Nov-11 at 12:41

            I'm trying to write a workflow to have my GitHub project release populated by the tag creation workflow.

            I already know how to create the release (using actions/create-release@v1.0.0) and how to push an artifact in the release (using actions/upload-release-asset).

            But, since I'm building Rust code, I ahve to compile it on different platforms. Obviously, for that, I have one job per platform and I'm trying to push my artifact in that job.

            But for the push to work, I have to use the release identifier given by actions/create-release@v1.0.0, which run in another job.

            Hence my question : how can I pass the release URL from my release creation job to the job that will push artifact ?

            THe full workflow is available here : https://github.com/Riduidel/rrss2imap/blob/master/.github/workflows/on_tag.yml

            And I copy it here

            ...

            ANSWER

            Answered 2019-Nov-08 at 02:02

            One possible solution is to create a repository_dispatch event after you have created the release. You can pass a payload containing the variables you need for the builds.

            Change your workflow as follows. Use a repo scoped Personal Access Token named REPO_ACCESS_TOKEN.

            Source https://stackoverflow.com/questions/58738070

            QUESTION

            Extract key value pair output from JSON file using PHP
            Asked 2019-Feb-05 at 11:34

            I would like to extract key value pair output from JSON formatted file using PHP and put into html table & database with exact key column. I tried code mentioned in Extract JSON ouput to get line by line key pair values using PHP but it doesn't work for multiple lines and gives wrong output from 2nd line onwards itself due to multiple lines from 2nd key.

            As we discussed in that, filing separate question to avoid clutter the same question.

            JSON file content:

            ...

            ANSWER

            Answered 2019-Feb-05 at 11:34

            Your JSON seems not be formatted well in first place. You missed commas and square brackets.

            This is a very basic solution but you can correct your JSON following this method:

            Add commas

            Source https://stackoverflow.com/questions/54532369

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install create-release

            You can install using 'npm i @sula/create-release' or download it from GitHub, npm.

            Support

            We would love you to contribute to @actions/create-release, pull requests are welcome! Please see the CONTRIBUTING.md for more information.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/actions/create-release.git

          • CLI

            gh repo clone actions/create-release

          • sshUrl

            git@github.com:actions/create-release.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Continous Integration Libraries

            chinese-poetry

            by chinese-poetry

            act

            by nektos

            volkswagen

            by auchenberg

            phpdotenv

            by vlucas

            watchman

            by facebook

            Try Top Libraries by actions

            runner-images

            by actionsPowerShell

            starter-workflows

            by actionsTypeScript

            virtual-environments

            by actionsPowerShell

            checkout

            by actionsTypeScript

            toolkit

            by actionsTypeScript