forked from balanceiskey/vsc-material-theme
-
Notifications
You must be signed in to change notification settings - Fork 2
/
info.yaml
28 lines (25 loc) · 951 Bytes
/
info.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
(using_atk_version): 1.1.0
(project):
name: XD Theme
description: my theme
(commands):
(setup): ruby '(scripts)/setup.rb'
build: ruby theme_generator.rb
publish: !language/ruby |
require 'atk_toolbox'
system "ruby theme_generator.rb"
previous_process_finished_successfully = $?.success?
if previous_process_finished_successfully
# push build
if Console.args[0]
system "project sync --message='#{Console.args[0]}'"
else
system "project sync"
end
system("npm version patch")
system "project synchronize --message='version bump'"
puts "Publishing"
system "vsce publish"
puts "Finished Publishing"
puts "patched version"
end