bootic_cli 0.5.3 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/bootic_cli/commands/themes.rb +1 -2
- data/lib/bootic_cli/themes/workflows.rb +4 -0
- data/lib/bootic_cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33dd7903e0e41865015bbbf447ba8eeb5f129349
|
4
|
+
data.tar.gz: 8a082e16833d9da57bdc7f408f652f5b43677c4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5b628ce27bd6bb46520a971a8dc5c49acc8bb36f1bd029bf9fcfeed327e92b177c8da4e7ef6ecbff5c90e638141a87596fb547f4bc6cf32e1de846c5926d953
|
7
|
+
data.tar.gz: 46b6bed1f17ac6fae5f102d444014714fdb79cfcc2405bd5e798680b2ea0941cc22aaf8769b19089f28912b6166c323f2e2ea5f082257988d0e64123f33d7a3e
|
@@ -114,7 +114,7 @@ module BooticCli
|
|
114
114
|
end
|
115
115
|
end
|
116
116
|
|
117
|
-
desc 'publish', '
|
117
|
+
desc 'publish', 'Merges your development theme back into your public website'
|
118
118
|
def publish
|
119
119
|
within_theme do
|
120
120
|
local_theme, remote_theme = theme_selector.select_theme_pair(default_subdomain, current_dir)
|
@@ -137,7 +137,6 @@ module BooticCli
|
|
137
137
|
|
138
138
|
# prompt.say("Publishing means all your public theme's templates and assets will be replaced and lost.")
|
139
139
|
if prompt.yes_or_no?("Would you like to make a local copy of your current public theme before publishing?", diff.any?) # default to true if changes exist
|
140
|
-
|
141
140
|
backup_path = File.join(local_theme.path, "public-theme-backup-#{Time.now.to_i}")
|
142
141
|
backup_theme = theme_selector.select_local_theme(backup_path, local_theme.subdomain)
|
143
142
|
|
@@ -181,6 +181,10 @@ module BooticCli
|
|
181
181
|
updated_theme = remote_theme.publish(delete: delete_dev)
|
182
182
|
|
183
183
|
prompt.notice "Yay! Your development theme has been made public. Take a look at #{remote_theme.path.sub('/preview/dev', '')}"
|
184
|
+
|
185
|
+
if delete_dev
|
186
|
+
prompt.say "Run the `dev` command to copy your public theme into a development copy later."
|
187
|
+
end
|
184
188
|
end
|
185
189
|
|
186
190
|
def watch(dir, remote_theme, watcher: Listen)
|
data/lib/bootic_cli/version.rb
CHANGED