Skip to content

Commit 2d3a081

Browse files
Release/0.1.1 (#2)
* Bump version to 0.1.1 for patch development * Ignore local AI scratch path * Fix gemspec to correctly package executable and ensure RubyGems installation works * Disable automated RubyGems and DockerHub publishing for manual release process * Update Gemfile.lock to fix CI dependency issues
1 parent 0406700 commit 2d3a081

5 files changed

Lines changed: 27 additions & 28 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ jobs:
5757
- name: Build gem
5858
run: gem build issuer.gemspec
5959

60-
- name: Publish to RubyGems
61-
run: |
62-
mkdir -p ~/.gem
63-
echo ":rubygems_api_key: ${{ secrets.RUBYGEMS_API_KEY }}" > ~/.gem/credentials
64-
chmod 0600 ~/.gem/credentials
65-
gem push issuer-*.gem
66-
env:
67-
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
60+
# - name: Publish to RubyGems
61+
# run: |
62+
# mkdir -p ~/.gem
63+
# echo ":rubygems_api_key: ${{ secrets.RUBYGEMS_API_KEY }}" > ~/.gem/credentials
64+
# chmod 0600 ~/.gem/credentials
65+
# gem push issuer-*.gem
66+
# env:
67+
# RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
6868

6969
docker-build:
7070
runs-on: ubuntu-latest
@@ -96,15 +96,15 @@ jobs:
9696
type=semver,pattern={{major}}
9797
type=raw,value=latest,enable={{is_default_branch}}
9898
99-
- name: Build and push Docker image
100-
uses: docker/build-push-action@v5
101-
with:
102-
context: .
103-
push: true
104-
tags: ${{ steps.meta.outputs.tags }}
105-
labels: ${{ steps.meta.outputs.labels }}
106-
cache-from: type=gha
107-
cache-to: type=gha,mode=max
99+
# - name: Build and push Docker image
100+
# uses: docker/build-push-action@v5
101+
# with:
102+
# context: .
103+
# push: true
104+
# tags: ${{ steps.meta.outputs.tags }}
105+
# labels: ${{ steps.meta.outputs.labels }}
106+
# cache-from: type=gha
107+
# cache-to: type=gha,mode=max
108108

109109
integration-test:
110110
runs-on: ubuntu-latest

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,6 @@ cleanup_commands_*.sh
9898
TESTING-PLAN.md
9999
# Vale downloaded packages (but keep project vocabularies)
100100
.vale/styles/
101+
102+
# Local scratch space for AI output
103+
.warp/

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
issuer (0.1.0)
4+
issuer (0.1.1)
55
faraday-retry (~> 2.0)
66
octokit (~> 8.0)
77
thor (~> 1.0)

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= Issuer: Bulk GitHub Issue Creator
22
:toc: macro
33
:toclevels: 3
4-
:this_prod_vrsn: 0.1.0
4+
:this_prod_vrsn: 0.1.1
55
:next_prod_vrsn: 0.2.0
66
:docker_base_command: docker run -it --rm -v $(pwd):/workdir -e GITHUB_TOKEN=$ISSUER_API_TOKEN docopslab/issuer
77
:append_or_impose: Prepend items with `+` to indicate they should be appended to existing labels. Items without `+` will only be used for issues with no `tags` designated.

issuer.gemspec

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,13 @@ Gem::Specification.new do |spec|
1717
spec.metadata["changelog_uri"] = "https://github.com/DocOps/issuer/blob/main/CHANGELOG.md"
1818

1919
# Specify which files should be added to the gem when it is released.
20-
spec.files = Dir.chdir(__dir__) do
21-
`git ls-files -z`.split("\x0").reject do |f|
22-
(File.expand_path(f) == __FILE__) ||
23-
f.start_with?(*%w[test/ spec/ features/ .git .circleci appveyor Gemfile pkg/]) ||
24-
f.match?(/\.gem$/) ||
25-
f.match?(/test_.*\.rb$/)
26-
end
27-
end
20+
spec.files = Dir['lib/**/*.rb'] +
21+
['exe/issuer'] +
22+
['README.adoc', 'LICENSE', 'issuer.gemspec'] +
23+
Dir['examples/*.yml']
2824

2925
spec.bindir = "exe"
30-
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
26+
spec.executables = ["issuer"]
3127
spec.require_paths = ["lib"]
3228

3329
# Runtime dependencies

0 commit comments

Comments
 (0)