Skip to content

Commit

Permalink
fix github actions build error
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-at-decenomy committed May 20, 2024
1 parent b79fc98 commit 8de088c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions contrib/docker/Dockerfile.dsw-linux-arm64-wallet
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ fi
WORKDIR /$TICKER

# Check out a specific version if needed
RUN git pull
RUN git fetch --all
RUN git checkout $TARGET
RUN git pull && \
git fetch --all && \
(git checkout $TARGET || (git checkout -B $TARGET && git pull origin $TARGET))

# Run Git commands to extract the timestamps
RUN git log -1 --format="%at" | xargs -I{} date -d @{} "+%Y-%m-%d %H:%M:%S" > /git_timestamp
Expand Down
6 changes: 3 additions & 3 deletions contrib/docker/Dockerfile.dsw-linux-x64-wallet
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ fi
WORKDIR /$TICKER

# Check out a specific version if needed
RUN git pull
RUN git fetch --all
RUN git checkout $TARGET
RUN git pull && \
git fetch --all && \
(git checkout $TARGET || (git checkout -B $TARGET && git pull origin $TARGET))

# Run Git commands to extract the timestamps
RUN git log -1 --format="%at" | xargs -I{} date -d @{} "+%Y-%m-%d %H:%M:%S" > /git_timestamp
Expand Down
6 changes: 3 additions & 3 deletions contrib/docker/Dockerfile.dsw-macos-x64-wallet
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ fi
WORKDIR /$TICKER

# Check out a specific version if needed
RUN git pull
RUN git fetch --all
RUN git checkout $TARGET
RUN git pull && \
git fetch --all && \
(git checkout $TARGET || (git checkout -B $TARGET && git pull origin $TARGET))

RUN git log -1 --format="%at" | xargs -I{} date -d @{} "+%Y-%m-%d %H:%M:%S" > /git_timestamp
RUN git log -1 --format="%at" | xargs -I{} date -d @{} "+%Y%m%d%H%M.%S" > /git_timestamp_touch
Expand Down
6 changes: 3 additions & 3 deletions contrib/docker/Dockerfile.dsw-windows-x64-wallet
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ fi
WORKDIR /$TICKER

# Check out a specific version if needed
RUN git pull
RUN git fetch --all
RUN git checkout $TARGET
RUN git pull && \
git fetch --all && \
(git checkout $TARGET || (git checkout -B $TARGET && git pull origin $TARGET))

RUN git log -1 --format="%at" | xargs -I{} date -d @{} "+%Y-%m-%d %H:%M:%S" > /git_timestamp
RUN git log -1 --format="%at" | xargs -I{} date -d @{} "+%Y%m%d%H%M.%S" > /git_timestamp_touch
Expand Down

0 comments on commit 8de088c

Please sign in to comment.