#!/bin/bash
#
# Licensed to the Austrian Association for Software Tool Integration (AASTI)
# under one or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information regarding copyright
# ownership. The AASTI 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.
#

source $(dirname $0)/openengsbplugin-common.sh

cd $ABSPATH/../../

git submodule|while read line
do
  echo $line
  set -- "$line" 
  IFS=" "; declare -a Array=($*)
  current=`pwd`
  cd ${Array[1]}
  git tag
  cd $current
done


Add simple script to show the possible tags in submodule folders
[OPENENGSB-1745] Add simple script to show the possible tags in submodule folders

Signed-off-by: Andreas Pieber <57efbcbb22ec0bd89955a40df26b44c340d3e38d@gmail.com>
(cherry picked from commit 3c4cd78f972636cba4bd73b19026a9a10f5414d6)

Signed-off-by: Andreas Pieber <57efbcbb22ec0bd89955a40df26b44c340d3e38d@gmail.com>
