nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-nuttx] Ouss4 commented on a change in pull request #757: Create release artifacts for release branches
Date Sun, 19 Apr 2020 22:15:49 GMT

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



Mime
View raw message