-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package of a dev / unstable / master release of a plugin #312
Comments
This is a bug I think, the flag should exist in both commands. But related to naming a version |
I'll recommend using I used qgis-plugin-ci>=2.8.6 for my test. |
According to the new title :
It's the same result for the QGIS plugin manager, when it's not following semantic versioning https://semver.org/ Whatever the version not following semantic versioning, QGIS plugin manager has no way to know if |
+1 with @Gustry. Alternatively, you can use a calver verisoning scheme also I guess (not sure). Why not something semver compliant like |
Actual workaround would be to have a 0.0.0-dev version so it automatically replaced by a newer version when updating. Some other usefull thing would be to pass the |
It's already done for us. We do one bash line which is not very readable :) : - name: Set env
run: |
TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
echo "VERSION=$(echo ${TAG} | awk -F. -v OFS=. 'NF==1{print ++$NF}; NF>1{if(length($NF+1)>length($NF))$(NF-1)++; $NF=sprintf("%0*d", length($NF), ($NF+1)%(10^length($NF))); print}')-alpha" >> $GITHUB_ENV |
I did not find how to package (not release) a dev or master version of a plug.
The error message is confusing because it proposes to use a '--no-validation' flag which seems to be unsupported by the package command.
The text was updated successfully, but these errors were encountered: