Giter Club home page Giter Club logo

Comments (5)

kip93 avatar kip93 commented on June 13, 2024 2

Would also love to publish here too, but have the same problem.

There might be some other random reference or the such, but these 2 seem to be the core of what would need to be touched:

I'll play a bit with it this weekend to enable non-tag releases and hopefully create a PR (:

from flakestry.dev.

PedroHLC avatar PedroHLC commented on June 13, 2024 1

The Fetching the repository phase in flakestry/flakestry-publish@main, seems to try to:
git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/v0.1.1*:refs/remotes/origin/v0.1.1* +refs/tags/v0.1.1*:refs/tags/v0.1.1

Which won't work if the tag does not exists, right?

from flakestry.dev.

domenkozar avatar domenkozar commented on June 13, 2024

There are two ways to support that:

a) v1.0.<unix epoch>
b) v1.0.<commits>

The easiest to implement is a) and you can do that today yourself something like:

- name: Retrieve unix date time
  shell: bash
  run: echo "TIME=$(date '+%s')" >> $GITHUB_ENV
- uses: flakestry/flakestry-publish@main
  with:
    version: "v1.0.${{ env.TIME }}"

from flakestry.dev.

domenkozar avatar domenkozar commented on June 13, 2024

Good point, currently we assume it's a tag.

Not sure yet what to do about it, probably we should allow releases be just a commit.

from flakestry.dev.

domenkozar avatar domenkozar commented on June 13, 2024

That would be fantastic!

from flakestry.dev.

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.