Skip to content

Commit

Permalink
Uses master instead of dev
Browse files Browse the repository at this point in the history
  • Loading branch information
amir20 committed Jun 11, 2021
1 parent 6c62699 commit 2822686
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/pages/Settings.vue
Expand Up @@ -110,7 +110,7 @@ export default {
},
async created() {
const releases = await (await fetch("https://api.github.com/repos/amir20/dozzle/releases")).json();
if (this.currentVersion !== "dev") {
if (this.currentVersion !== "master") {
this.hasUpdate = gt(releases[0].tag_name, this.currentVersion);
} else {
this.hasUpdate = true;
Expand Down
2 changes: 1 addition & 1 deletion assets/store/config.js
@@ -1,6 +1,6 @@
const config = JSON.parse(document.querySelector("script#config__json").textContent);
if (config.version == "{{ .Version }}") {
config.version = "dev";
config.version = "master";
config.base = "";
config.authorizationNeeded = false;
config.secured = false;
Expand Down
2 changes: 1 addition & 1 deletion main.go
Expand Up @@ -21,7 +21,7 @@ import (
)

var (
version = "dev"
version = "head"
)

type args struct {
Expand Down

0 comments on commit 2822686

Please sign in to comment.