dotenv icon indicating copy to clipboard operation
dotenv copied to clipboard

missing tags

Open c33s opened this issue 3 years ago • 2 comments

it would be nice if you can tag your releases. it helps to rely on a specific snapshot of your lib.

c33s avatar Jan 03 '23 11:01 c33s

You can fork it and add tags to your fork, with complete control over whether you even pull from upstream or not. In any case the current state is pretty stable (no changes at all in over three years) and I generally add a branch or tag on these projects when I make backwards-incompatible changes.

pjeby avatar Jan 03 '23 18:01 pjeby

if everything is stable why not simply add one tag 1.0.0 here? forking everything just to add a custom tag doesn't sound like a best practice to me. git simple can't clone a specific commit hash.

git clone --depth 1 --branch 0.28.1 https://github.com/shellspec/shellspec.git vendor/shellspec

vs

git clone https://github.com/bashup/dotenv.git vendor/dotenv
git -C vendor/dotenv reset --hard d71c9d786fe193f43f1cb57c6b4a152ebb01ba60

c33s avatar Jan 04 '23 18:01 c33s