Fixing version visibility
This commit is contained in:
parent
58708425fd
commit
ae65162eb4
10
.github/workflows/cs-update-push.yml
vendored
10
.github/workflows/cs-update-push.yml
vendored
@ -52,7 +52,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
github-server-url: ${{ github.server_url }}
|
github-server-url: ${{ github.server_url }}
|
||||||
repository: gmetribin/deploy-tools
|
repository: gmetribin/deploy-tools
|
||||||
ref: v1.1.38
|
ref: v1.1.39
|
||||||
path: deploy-tools
|
path: deploy-tools
|
||||||
# token: $\{{ github.token }} # DEFAULT / Any pushes with github.token don't trigger a chained build
|
# token: $\{{ github.token }} # DEFAULT / Any pushes with github.token don't trigger a chained build
|
||||||
|
|
||||||
@ -63,18 +63,14 @@ jobs:
|
|||||||
git config --global user.email 'techbots+build@gmetri.com'
|
git config --global user.email 'techbots+build@gmetri.com'
|
||||||
|
|
||||||
TAG=${{ steps.read-issue.outputs.TAG }}
|
TAG=${{ steps.read-issue.outputs.TAG }}
|
||||||
REPO=${{ steps.read-issue.outputs.REPO }}
|
export REPO=${{ steps.read-issue.outputs.REPO }}
|
||||||
SENDER=${{ steps.read-issue.outputs.SENDER }}
|
export SENDER=${{ steps.read-issue.outputs.SENDER }}
|
||||||
DOCKER_REPO=${{ steps.read-issue.outputs.DOCKER_REPO }}
|
DOCKER_REPO=${{ steps.read-issue.outputs.DOCKER_REPO }}
|
||||||
REPOLIST=./.github/repolist.txt
|
REPOLIST=./.github/repolist.txt
|
||||||
pwd; ls -al;
|
pwd; ls -al;
|
||||||
|
|
||||||
cd cs;
|
cd cs;
|
||||||
source ../deploy-tools/src/repo_to_cs.sh -m $DOCKER_REPO -t $TAG -r $REPOLIST;
|
source ../deploy-tools/src/repo_to_cs.sh -m $DOCKER_REPO -t $TAG -r $REPOLIST;
|
||||||
echo "NEW_TAG: $NEW_TAG"
|
|
||||||
COMMIT_MESSAGE="$NEW_TAG: $REPO to $TAG by $SENDER";
|
|
||||||
|
|
||||||
git commit -m "$COMMIT_MESSAGE"
|
|
||||||
git tag -a $NEW_TAG -m "$COMMIT_MESSAGE"
|
|
||||||
git push origin main;
|
git push origin main;
|
||||||
git push --tags origin main;
|
git push --tags origin main;
|
||||||
|
|||||||
2
.github/workflows/nm-update.yml
vendored
2
.github/workflows/nm-update.yml
vendored
@ -61,7 +61,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
github-server-url: ${{ github.server_url }}
|
github-server-url: ${{ github.server_url }}
|
||||||
repository: gmetribin/deploy-tools
|
repository: gmetribin/deploy-tools
|
||||||
ref: v1.1.38
|
ref: v1.1.39
|
||||||
path: deploy-tools
|
path: deploy-tools
|
||||||
|
|
||||||
- name: Increment cs version in nm repo and push
|
- name: Increment cs version in nm repo and push
|
||||||
|
|||||||
@ -39,10 +39,12 @@ main()
|
|||||||
done <<< "$KUST_FILES_LINES"
|
done <<< "$KUST_FILES_LINES"
|
||||||
|
|
||||||
source $SCRIPT_DIR/repo_to_cs_basetag.sh;
|
source $SCRIPT_DIR/repo_to_cs_basetag.sh;
|
||||||
# cat $NEW_TAG > version; #To always allow a commit
|
|
||||||
# git add version;
|
echo "NEW_TAG: $NEW_TAG"
|
||||||
# git commit -m "$NEW_TAG: $IMAGE updated to $IMAGE_TAG";
|
COMMIT_MESSAGE="$NEW_TAG: $REPO to $TAG by $SENDER";
|
||||||
# git tag -a $NEW_TAG -m "$NEW_TAG: $IMAGE updated to $IMAGE_TAG"
|
|
||||||
|
git commit -m "$COMMIT_MESSAGE"
|
||||||
|
git tag -a $NEW_TAG -m "$COMMIT_MESSAGE"
|
||||||
}
|
}
|
||||||
|
|
||||||
### Starts here
|
### Starts here
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user