update
This commit is contained in:
8
.github/scripts/get-latest-tag.sh
vendored
8
.github/scripts/get-latest-tag.sh
vendored
@@ -1,8 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
TAGS=$(git ls-remote --refs --tags --sort='v:refname' https://github.com/$REPO "v$VERSION.*")
|
||||
TAG=$(echo $TAGS | tail -n1 | sed 's/.*\///')
|
||||
|
||||
echo "GIT_TAG=$TAG" >> $GITHUB_ENV
|
||||
echo "GIT_BRANCH=version-$VERSION" >> $GITHUB_ENV
|
||||
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||
18
.github/scripts/get-latest-tags.sh
vendored
Executable file
18
.github/scripts/get-latest-tags.sh
vendored
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
set -x
|
||||
|
||||
get_tag() {
|
||||
tags=$(git ls-remote --refs --tags --sort='v:refname' https://github.com/$1 "v$2.*")
|
||||
tag=$(echo "$tags" | tail -n1 | sed 's/.*\///')
|
||||
echo "$tag"
|
||||
}
|
||||
|
||||
FRAPPE_VERSION=$(get_tag frappe/frappe "$VERSION")
|
||||
ERPNEXT_VERSION=$(get_tag frappe/erpnext "$VERSION")
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
echo "FRAPPE_VERSION=$FRAPPE_VERSION" >>$GITHUB_ENV
|
||||
# shellcheck disable=SC2086
|
||||
echo "ERPNEXT_VERSION=$ERPNEXT_VERSION" >>$GITHUB_ENV
|
||||
11
.github/scripts/install-deps-and-test.sh
vendored
11
.github/scripts/install-deps-and-test.sh
vendored
@@ -1,11 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
sudo apt-get install -y w3m
|
||||
|
||||
./tests/check-format.sh
|
||||
./tests/docker-test.sh
|
||||
|
||||
# This is done to not to rebuild images in the next step
|
||||
git clean -fdx
|
||||
Reference in New Issue
Block a user