Skip to content

Commit

Permalink
renamed VERSION -> VERSION.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
Gemba committed Mar 10, 2025
1 parent fcca91b commit f17585a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo

# Building skyscraper
COPY ./* ./
RUN rm ./VERSION
RUN rm ./VERSION.ini
RUN chmod +x update_skyscraper.sh && ./update_skyscraper.sh

ENTRYPOINT ["Skyscraper"]
6 changes: 3 additions & 3 deletions supplementary/workflows/install
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export SKYSCRAPER_HOME="$(cd "$(dirname "$0")/../.." && pwd)"
source "${SKYSCRAPER_HOME}/supplementary/workflows/core.sh"

cleanup() {
mv VERSION.bk VERSION &>/dev/null || true
mv VERSION.bk VERSION.ini &>/dev/null || true
}

cleanup
Expand All @@ -22,11 +22,11 @@ run_termux_docker() {
}

build() {
source "VERSION"
source "VERSION.ini"
LATEST="$VERSION"

if [[ "$OSTYPE" == *"arwin"* ]]; then
mv VERSION VERSION.bk || true
mv VERSION.ini VERSION.bk || true
fi

cd "$SKYSCRAPER_HOME"
Expand Down

0 comments on commit f17585a

Please sign in to comment.