From commits-return-7678-archive-asf-public=cust-asf.ponee.io@nuttx.apache.org Sun Apr 19 22:15:50 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id CA7D2180630 for ; Mon, 20 Apr 2020 00:15:49 +0200 (CEST) Received: (qmail 14991 invoked by uid 500); 19 Apr 2020 22:15:49 -0000 Mailing-List: contact commits-help@nuttx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nuttx.apache.org Delivered-To: mailing list commits@nuttx.apache.org Received: (qmail 14975 invoked by uid 99); 19 Apr 2020 22:15:49 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Apr 2020 22:15:49 +0000 From: =?utf-8?q?GitBox?= To: commits@nuttx.apache.org Subject: =?utf-8?q?=5BGitHub=5D_=5Bincubator-nuttx=5D_Ouss4_commented_on_a_change_in_?= =?utf-8?q?pull_request_=23757=3A_Create_release_artifacts_for_release_branc?= =?utf-8?q?hes?= Message-ID: <158733454914.28083.11722745570146318754.asfpy@gitbox.apache.org> Date: Sun, 19 Apr 2020 22:15:49 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit References: =?utf-8?q?=3Cincubator-nuttx=2E757=2EMDExOlB1bGxSZXF1ZXN0NDAxMTk5MTIw=2Egitb?= =?utf-8?q?ox=40gitbox=2Eapache=2Eorg=3E?= In-Reply-To: =?utf-8?q?=3Cincubator-nuttx=2E757=2EMDExOlB1bGxSZXF1ZXN0NDAxMTk5MTIw=2Egitb?= =?utf-8?q?ox=40gitbox=2Eapache=2Eorg=3E?= Ouss4 commented on a change in pull request #757: URL: https://github.com/apache/incubator-nuttx/pull/757#discussion_r411003546 ########## File path: tools/gitver.sh ########## @@ -0,0 +1,69 @@ +#!/bin/bash + +#**************************************************************************** +# tools/gitversion.sh +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. The +# ASF licenses this file to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance with the +# License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +#**************************************************************************** + +# This script will attempt to generate a semver version based on the git tags +# and the supplied target version as either major.minor or major.minor.patch +# If there is not yet a tag for Version 0.1 and 0.1 is supplied it will +# return the version 0.1.0 If a tag exists of 0.1.2-RC1 it would return +# version 0.1.2 to standard out if 0.1 or 0.1.2 is supplied +# +# Example usage: +# $ ./gitver.sh 0.1 +# 0.1.2 Review comment: Could you please add this part to the tools/README.txt file. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org