Closed linde12 closed 1 year ago
Example of Windows error which is fixed by removing the quotes:
$ git pull
error: cannot lock ref 'refs/remotes/origin/changelog-"0.1.2-beta.1"': Unable to create 'C:/Path/To/Repo/.git/refs/remotes/origin/changelog-"0.1.2-beta.1".lock': Invalid argument
Thanks for catching this.
@rhysd No, thank you for the action!
Any plans on releasing soon, or should we go with using @master for now?
Use
jq -r .release.tag_name
in order to strip the extra quotes you get fromjq
otherwise.Before a version could look like this: "1.2.3" With this change it becomes: 1.2.3
This also affetcts branch names so instead of changelog-"1.2.3" we get changelog-1.2.3. This is good because fetching branches containing quotes can cause issues on Windows systems.