Skip to content

Commit 02baaec

Browse files
committed
added module version bump
1 parent 6b7c218 commit 02baaec

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

.github/workflows/runtests.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,14 @@ jobs:
2525
push: false
2626
load: true
2727
tags: ${{ github.repository }}:${{ github.sha }}
28-
build-args: TESTS=1
28+
build-args: TESTS=1
29+
- name: Bump version
30+
run: |
31+
git config --global user.name 'ProjectBot'
32+
git config --global user.email 'bot@users.noreply.github.com'
33+
VERSION=$(sed -n '0,/.*<Version>\(.*\)<\/Version>.*/s//\1/p' module.xml)
34+
VERSION=`echo $VERSION | awk -F. '/[0-9]+\./{$NF++;print}' OFS=.`
35+
sed -i "0,/<Version>\(.*\)<\/Version>/s//<Version>$VERSION<\/Version>/" module.xml
36+
git add module.xml
37+
git commit -m 'auto bump version'
38+
git push

dev.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,13 @@ docker-compose exec iris iris session iris -U IRISAPP
2727
- ~/iris.key:/usr/irissys/mgr/iris.key
2828

2929
## install git in the docker image
30-
## add git
30+
## add git in dockerfile
31+
USER root
3132
RUN apt update && apt-get -y install git
3233

34+
USER ${ISC_PACKAGE_MGRUSER}
35+
36+
3337
## install docker-compose
3438
```
3539
sudo curl -L "https://github.com/docker/compose/releases/download/1.26.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

0 commit comments

Comments
 (0)