Sponsored Content
Top Forums Shell Programming and Scripting Need to get versioning of the branch name dynamically Post 303031531 by lkeswar on Friday 1st of March 2019 02:34:07 PM
Old 03-01-2019
Need to get versioning of the branch name dynamically

Hi,

I need to get versioning of the branch name dynamically. can you please help us to achieve this functionality.

Code:
curl https://altrecmktg.com/artifactory/mediamarketing/release-2.0.1/[/B]altrec.tar
curl https://altrecmktg.com/artifactory/mediamarketing/release-2.0.2[/B]/altrec.tar

everytime version will change as 2.0.1,2.0.2,2.03,..and so on..

Appreciate your help on this.
 

4 More Discussions You Might Find Interesting

1. Solaris

Solaris versioning

Please correct me if I am wrong... Isnt the only difference between minor releases of Solaris, ex. 9/04 and 9/05, is the patche revs between them? If so, why does the /etc/release info stay static when patched? (4 Replies)
Discussion started by: mhm4
4 Replies

2. Programming

binary versioning

Dear Members, Do you know any information about versioning a binary file. That means test.out 1.0.0, 1.0.1, 1.1.0, and so on. Can I manually edit version number (both major and minor) and revision number myself (how?) or any utility to set version number (which one?). Best Regards, Francesco (2 Replies)
Discussion started by: francescoandrio
2 Replies

3. SCO

Versioning through undelete

Hi , I am using SCO openserver realease 3.2 and tried to test versioning on a directory with undelete -s . The command executes well but it is not creating any versions of the files in it. I have also setted versioning options via filesystem and then remounted it but of ... (0 Replies)
Discussion started by: dextergenious
0 Replies

4. UNIX for Beginners Questions & Answers

Versioning up a file with initials?

I have this code that works great ... #!/bin/sh for file in "$@" do ext=${file##*.} base=${file%.*} num=${base##*v} zeroes=${num%%*} num=${num#$zeroes} #remove leading zeros, or it uses octal num=$((num+1)) base=${base%v*} ... (5 Replies)
Discussion started by: scribling
5 Replies
CURLOPT_INFILESIZE_LARGE(3)				     curl_easy_setopt options				       CURLOPT_INFILESIZE_LARGE(3)

NAME
CURLOPT_INFILESIZE_LARGE - set size of the input file to send off SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_INFILESIZE_LARGE, curl_off_t filesize); DESCRIPTION
When uploading a file to a remote site, filesize should be used to tell libcurl what the expected size of the input file is. This value must be passed as a curl_off_t. For uploading using SCP, this option or CURLOPT_INFILESIZE(3) is mandatory. To unset this value again, set it to -1. When sending emails using SMTP, this command can be used to specify the optional SIZE parameter for the MAIL FROM command. This option does not limit how much data libcurl will actually send, as that is controlled entirely by what the read callback returns, but telling one value and sending a different amount may lead to errors. DEFAULT
Unset PROTOCOLS
Many EXAMPLE
CURL *curl = curl_easy_init(); if(curl) { curl_off_t uploadsize = FILE_SIZE; curl_easy_setopt(curl, CURLOPT_URL, "ftp://example.com/destination.tar.gz"); curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L); curl_easy_setopt(curl, CURLOPT_INFILESIZE_LARGE, uploadsize); curl_easy_perform(curl); } AVAILABILITY
SMTP support added in 7.23.0 RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. SEE ALSO
CURLOPT_INFILESIZE(3), CURLOPT_UPLOAD(3), libcurl 7.54.0 February 03, 2016 CURLOPT_INFILESIZE_LARGE(3)
All times are GMT -4. The time now is 05:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy