Skip to content

Commit

Permalink
Update regex in docker.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
datdamnzotz committed Dec 1, 2020
1 parent aecf8fa commit 57ac44e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
run: |
echo Version1: ${{ steps.get_version.outputs.VERSION1 }}
echo Version2: ${{ steps.get_version.outputs.VERSION2 }}
sed -i 's/^(defn version \[\] "*.")/\(defn version [] "${{ steps.get_version.outputs.VERSION1 }}")/' src/cljs/orcpub/ver.cljc
sed -i 's/^(defn date \[\] "*.")/\(defn date [] "${{ steps.time.outputs.time }}")/' src/cljs/orcpub/ver.cljc
sed -i 's/defn version \[\] \".*\"/\defn version [] "${{ steps.get_version.outputs.VERSION1 }}"/' src/cljs/orcpub/ver.cljc
sed -i 's/defn date \[\] ".*"/\defn date [] "${{ steps.time.outputs.time }}"/' src/cljs/orcpub/ver.cljc
cat src/cljs/orcpub/ver.cljc
- name: Login to DockerHub
Expand Down

0 comments on commit 57ac44e

Please sign in to comment.