Coder Social home page Coder Social logo

Comments (3)

treee111 avatar treee111 commented on June 14, 2024 1

Hi @anton-yurchenko,
thank you for the fast response!
I had a false understanding of your git-release plugin!
I though throught the plugin is responsible for the mentioned default archives as well.
My understanding, that I can select the to-be-zipped files via your plugin was false.

My aim is to take some files of my repo, e.g. the folder and content of common_resources directory and zip that. So that others can download only the files relevant for execution and not unittests, testdate etc.
Until now, I hadn't any build script to copy only the relevant files and zip them. Now I created that and the git-release plugin takes care of the creation of the github-Release and uploads the created .zip file!

For reference, this is the workflow-yml and this the script which does the file-copy and zipping.
It creates this Release:
grafik

question answered 👍

from git-release.

anton-yurchenko avatar anton-yurchenko commented on June 14, 2024

Hello @treee111,
There are two archives created by default on GitHub which contain a source code for that ref and cannot be removed:
image

The rest are optional artifacts that you might attach to the release. The following instruction will add all ZIP files in a common_resources directory:

        with:
          args: |
            common_resources/*.zip

Here is an example for the previously attached screenshot:

      - name: Release
        uses: docker://antonyurchenko/git-release:latest
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          args: dist/version-bump-*

Did I understand you correctly? You are talking about the Source Code Archives right? (in case not, please provide a screenshot of a release created with a configuration you have provided earlier)

from git-release.

anton-yurchenko avatar anton-yurchenko commented on June 14, 2024

I am glad you find git-release useful.
Thank you

from git-release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.