I have a bash script , in which I written some curl commands to pick the artifact from drop folder and deploy. command is similar like below
curl -u uname:password -F file=@"_path/of/project/all-1.0.1-SNAPSHOT.zip" -F name="test-mname" -F force=true -F install=true http://xx.xx.xxx.xx
Here 1.0.1-SNAPSHOT.zip is dynamic and will change per every release. How can I modify the script so can avoid change in pipeline after every release.
Thanks