Skip to content

Commit

Permalink
Move remaining util scripts (#6472)
Browse files Browse the repository at this point in the history
  • Loading branch information
danish9039 authored Jan 4, 2025
1 parent 59b544a commit bd7e3da
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: define matrix
id: set-matrix
run: |
echo "matrix=$(bash scripts/platforms-to-gh-matrix.sh)" >> $GITHUB_OUTPUT
echo "matrix=$(bash scripts/utils/platforms-to-gh-matrix.sh)" >> $GITHUB_OUTPUT
build-binaries:
needs: generate-matrix
Expand Down
4 changes: 2 additions & 2 deletions Makefile.BuildInfo.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ GIT_SHA=$(shell git rev-parse HEAD)
DATE=$(shell TZ=UTC0 git show --quiet --date='format-local:%Y-%m-%dT%H:%M:%SZ' --format="%cd")
# Defer evaluation of semver tags until actually needed, using trick from StackOverflow:
# https://stackoverflow.com/questions/44114466/how-to-declare-a-deferred-variable-that-is-computed-only-once-for-all
GIT_CLOSEST_TAG_V1 = $(eval GIT_CLOSEST_TAG_V1 := $(shell scripts/compute-version.sh v1))$(GIT_CLOSEST_TAG_V1)
GIT_CLOSEST_TAG_V2 = $(eval GIT_CLOSEST_TAG_V2 := $(shell scripts/compute-version.sh v2))$(GIT_CLOSEST_TAG_V2)
GIT_CLOSEST_TAG_V1 = $(eval GIT_CLOSEST_TAG_V1 := $(shell scripts/utils/compute-version.sh v1))$(GIT_CLOSEST_TAG_V1)
GIT_CLOSEST_TAG_V2 = $(eval GIT_CLOSEST_TAG_V2 := $(shell scripts/utils/compute-version.sh v2))$(GIT_CLOSEST_TAG_V2)

# args: (1) - name, (2) - value
define buildinfo
Expand Down
2 changes: 1 addition & 1 deletion Makefile.Windows.mk
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ endef

.PHONY: _build-syso
_build-syso: $(GOVERSIONINFO)
$(eval SEMVER_ALL := $(shell scripts/compute-version.sh -s v1))
$(eval SEMVER_ALL := $(shell scripts/utils/compute-version.sh -s v1))
$(eval SEMVER_MAJOR := $(word 2, $(SEMVER_ALL)))
$(eval SEMVER_MINOR := $(word 3, $(SEMVER_ALL)))
$(eval SEMVER_PATCH := $(word 4, $(SEMVER_ALL)))
Expand Down
2 changes: 1 addition & 1 deletion scripts/build/build-upload-a-docker-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ echo "Finished building${upload_comment} ${component_name} =============="

if [[ "$upload_readme" == "Y" ]]; then
echo "::group:: docker upload ${dir_arg}/README.md"
bash scripts/upload-docker-readme.sh "${component_name}" "${dir_arg}"/README.md
bash scripts/build/upload-docker-readme.sh "${component_name}" "${dir_arg}"/README.md
echo "::endgroup::"
fi

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit bd7e3da

Please sign in to comment.