Skip to content

Commit

Permalink
Added version info
Browse files Browse the repository at this point in the history
  • Loading branch information
Meezaan-ud-Din Abdu Dhil-Jalali Wal-Ikram / مِيزَانُ الْدِّينْ عَبْدُ ذِيْ الْجَلَالِ وَ الْإِكْرَامِ committed Jan 20, 2019
1 parent 0c4dfe0 commit 7341d73
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ jobs:
steps:
- checkout
- setup_remote_docker
- run:
name: Add Version information
command: |
echo "commit: ${CIRCLE_SHA1}" > html/VERSION
echo "tag: ${CIRCLE_TAG}" >> html/VERSION
echo "branch: ${CIRCLE_BRANCH}" >> html/VERSION
echo "ci_build: ${CIRCLE_BUILD_NUM}" >> html/VERSION
echo "ci_workflow: ${CIRCLE_WORKFLOW_ID}" >> html/VERSION
- run:
name: Build Production Docker image
command: docker build -t $IMAGE_NAME:latest .
Expand Down

0 comments on commit 7341d73

Please sign in to comment.