dorian-release 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/bin/release +17 -0
- metadata +48 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: da3d20a01df1d3bc8ab4176154d297289f18a49d6d928f3674d79108c132b2d9
|
4
|
+
data.tar.gz: e2f35826b92b16cc1c500e7172348459d794f3a679f3e252b65f8f9b021904dd
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a86e2a84e9be6901494959ff82bc1c88462b0e7998ced685df50bf2a7fa520d59be1eae8ada6b980a8a31f518478dc37a53cfc3406a062aff61e06425a24f82f
|
7
|
+
data.tar.gz: e73c45339e40a8382a9403898bd58f7ee4f7c241c89191046eb63e27101ccbcf4fadd70b4af3c6097547a3dae2e286c82225954db52f884e1cd0c6060a7538de
|
data/bin/release
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
if ARGV.any?
|
5
|
+
puts "USAGE: release"
|
6
|
+
exit
|
7
|
+
end
|
8
|
+
|
9
|
+
def system!(command)
|
10
|
+
puts command
|
11
|
+
system(command, exception: true)
|
12
|
+
end
|
13
|
+
|
14
|
+
File.delete(*Dir["*.gem"])
|
15
|
+
system!("gem build")
|
16
|
+
system!("gem push *.gem")
|
17
|
+
File.delete(*Dir["*.gem"])
|
metadata
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: dorian-release
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Dorian Marié
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-02-01 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: |-
|
14
|
+
Releases a gem
|
15
|
+
|
16
|
+
e.g. `release`
|
17
|
+
email: dorian@dorianmarie.fr
|
18
|
+
executables:
|
19
|
+
- release
|
20
|
+
extensions: []
|
21
|
+
extra_rdoc_files: []
|
22
|
+
files:
|
23
|
+
- bin/release
|
24
|
+
homepage: https://github.com/dorianmariefr/dorian-release
|
25
|
+
licenses:
|
26
|
+
- MIT
|
27
|
+
metadata:
|
28
|
+
rubygems_mfa_required: 'true'
|
29
|
+
post_install_message:
|
30
|
+
rdoc_options: []
|
31
|
+
require_paths:
|
32
|
+
- lib
|
33
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - ">="
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0'
|
43
|
+
requirements: []
|
44
|
+
rubygems_version: 3.5.5
|
45
|
+
signing_key:
|
46
|
+
specification_version: 4
|
47
|
+
summary: Releases a gem
|
48
|
+
test_files: []
|