Merge pull request #853 from ehazlett/docs-version-info
docs: update dockerfile for new version package
This commit is contained in:
@@ -7,7 +7,7 @@ COPY . /src
|
|||||||
# Reset the /docs dir so we can replace the theme meta with the new repo's git info
|
# Reset the /docs dir so we can replace the theme meta with the new repo's git info
|
||||||
RUN git reset --hard
|
RUN git reset --hard
|
||||||
|
|
||||||
RUN grep VERSION /src/version.go | sed 's/.*"\(.*\)".*/\1/' > /docs/VERSION
|
RUN grep "VERSION =" /src/version/version.go | sed 's/.*"\(.*\)".*/\1/' > /docs/VERSION
|
||||||
COPY docs/* /docs/sources/machine/
|
COPY docs/* /docs/sources/machine/
|
||||||
COPY docs/mkdocs.yml /docs/mkdocs-machine.yml
|
COPY docs/mkdocs.yml /docs/mkdocs-machine.yml
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user