File: release

package info (click to toggle)
ruby-acme-client 2.10.really.2.0.18-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,132 kB
  • sloc: ruby: 2,217; makefile: 7; sh: 3
file content (24 lines) | stat: -rwxr-xr-x 496 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env ruby

require 'bundler/setup'
require 'acme-client'

version = Acme::Client::VERSION

def `(command)
  puts super(command)

  if $?.exitstatus > 0
    fail("failed at: #{command}")
  end
end

`git add CHANGELOG.md`
`git add lib/acme/client/version.rb`
`git commit -m "bump to #{version}"`
`git pull --rebase origin master`
`git tag 'v#{version}'`
`git push --tags origin master`
`gem build acme-client.gemspec`
`gem push acme-client-#{version}.gem`
`rm acme-client-#{version}.gem`