Comments (5)
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.
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.
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.
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.
That would be fantastic!
from flakestry.dev.
Related Issues (20)
- format time as relative
- logo HOT 19
- Search returns duplicate versions
- Search query should be reflected in the URI
- Relative README links are broken HOT 1
- No HTTPS redirect HOT 1
- Redirect flake pins to github tarballs
- Make it official HOT 2
- Implement accessible navigation/search
- Add noscript HOT 7
- add support for NOTE, WARNING and IMPORTANT github markdown syntax HOT 5
- GitHub readme badge HOT 4
- Support flake schemas
- Selecting README/Input should deselect the output
- Show the actual flake-URL to an output
- Broken status badge
- SemVer major range query
- Decoder error when showing nixus package HOT 2
- Allow users to track a set of flake packages and update a channel if they all succeed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flakestry.dev.