git-version-bump 0
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 +7 -0
- data/.github/workflows/release.yml +33 -0
- data/.gitignore +3 -0
- data/Gemfile +3 -0
- data/LICENCE +674 -0
- data/README.md +170 -0
- data/Rakefile +17 -0
- data/bin/git-version-bump +69 -0
- data/git-version-bump.gemspec +26 -0
- data/lib/git-version-bump/rake-tasks.rb +49 -0
- data/lib/git-version-bump/version.rb +33 -0
- data/lib/git-version-bump.rb +386 -0
- metadata +110 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a35b473e9396809ff5e58c2af159f162e20461535fdd7f05bce61922985c0647
|
4
|
+
data.tar.gz: 3e679de0dab6cf7c6e8c7be0a828e998ee783fc427e6cacd896875612b7d96e4
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1f8f61d13ff479024085eca682f961b9cf2b789467cf0515455952285145d1abf1ebffaa19b9e2dc1a19c848ee413f9178d96b463dfa2deaff33e446b3dba6bc
|
7
|
+
data.tar.gz: 2fb3871a1a7a945e96b29fee6f2e922ea2fbb57bfa428400d0c04e2d88d51082bd71f9e60da13bc80dc5753b3aa261c35571e8d3442e10a3b0efc8b804afdf2c
|
@@ -0,0 +1,33 @@
|
|
1
|
+
name: "Release to RubyGems"
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branch: [main]
|
5
|
+
release:
|
6
|
+
types: [created]
|
7
|
+
workflow_dispatch:
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
upload:
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
name: "Upload gem"
|
13
|
+
|
14
|
+
steps:
|
15
|
+
- uses: actions/checkout@v2
|
16
|
+
with:
|
17
|
+
fetch-depth: 0
|
18
|
+
|
19
|
+
- name: Install ruby
|
20
|
+
uses: ruby/setup-ruby@v1
|
21
|
+
with:
|
22
|
+
ruby-version: '2.7'
|
23
|
+
bundler-cache: true
|
24
|
+
|
25
|
+
- name: Workaround for https://github.com/actions/checkout/issues/290
|
26
|
+
run: |
|
27
|
+
git fetch --force --tags
|
28
|
+
|
29
|
+
- name: Do The Needful
|
30
|
+
env:
|
31
|
+
GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
|
32
|
+
run: |
|
33
|
+
bundle exec rake release:rubygem_push
|
data/.gitignore
ADDED
data/Gemfile
ADDED