Skip to content

Commit

Permalink
Prepare first release 0.0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNaif2018 committed Oct 16, 2020
1 parent 3b943c5 commit 763384e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,23 @@ jobs:
- setup_remote_docker:
version: 19.03.13
- run: |
docker build -t $DOCKER_IMAGE:latest .
docker build -t $DOCKER_IMAGE:$CIRCLE_TAG .
docker tag $DOCKER_IMAGE:$CIRCLE_TAG $DOCKER_IMAGE:stable
docker login -u $DOCKER_USER -p $DOCKER_PASS
docker push $DOCKER_IMAGE:latest
docker push $DOCKER_IMAGE:$CIRCLE_TAG
docker push $DOCKER_IMAGE:stable
workflows:
version: 2
test-and-deploy:
jobs:
- test
- deploy:
context: global
requires:
- test
filters:
branches:
only: master
context: global
ignore: /.*/
tags:
only: /[0-9]+(\.[0-9]+)*/
8 changes: 7 additions & 1 deletion layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,20 @@
nuxt
.hero-foot
.container
p © BitcartCC 2018-2020
p © BitcartCC v{{VERSION}}
</template>

<script>
import Header from "@/components/Header"
import VERSION from "@/version"
export default {
components: { AppHeader: Header },
data() {
return {
VERSION,
}
},
beforeCreate() {
this.$store.dispatch("syncStats")
},
Expand Down
3 changes: 3 additions & 0 deletions version.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const VERSION = "0.0.0.1"

export default VERSION

0 comments on commit 763384e

Please sign in to comment.