File tree 3 files changed +19
-2
lines changed
3 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 1
- ## [ Unreleased ]
1
+ ## [ 1.2.0 ] - 2020-05-20
2
2
### Added
3
3
- acp-authz plugin
4
4
- 'components' registry
5
5
- authnId to Cloudentity AuthnCtx
6
+ - add get_tag script
6
7
7
8
## [ 1.1.0] - 2020-04-21
8
9
### Added
Original file line number Diff line number Diff line change 1
1
CURRENT_VERSION ?= $(shell ./bin/get_version.sh)
2
+ TAG ?= $(shell ./bin/get_tag.sh)
2
3
3
4
NO_COLOR = \x1b[0m
4
5
OK_COLOR = \x1b[32;01m
@@ -12,4 +13,4 @@ standalone:
12
13
13
14
docker : standalone
14
15
@echo -e " $( OK_COLOR) > building docker $( NO_COLOR) "
15
- docker build -t cloudentity/pyron pyron-app --build-arg version=$(CURRENT_VERSION )
16
+ docker build -t cloudentity/pyron: $( TAG ) pyron-app --build-arg version=$(CURRENT_VERSION )
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -ex
3
+
4
+ type=$( git branch | grep " \\ *" | cut -d ' ' -f2 | cut -d ' /' -f1)
5
+
6
+ if [ " $type " = " release" ] || [ " $type " = " hotfix" ] ; then
7
+ git branch | grep " \\ *" | cut -d ' ' -f2 | cut -d ' /' -f2
8
+ elif [ " $type " = " master" ]; then
9
+ echo " master"
10
+ elif git describe --contains 2> /dev/null; then
11
+ exit 0
12
+ else
13
+ echo " latest"
14
+ fi
15
+
You can’t perform that action at this time.
0 commit comments