rtlsdr 0.1.1 → 0.1.2
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 +4 -4
- data/CHANGELOG.md +9 -0
- data/Rakefile +24 -0
- data/lib/rtlsdr/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 710f4bd64dcbffaf300a9c0f224a8f9901a4add441a30ee20cb47618481888b6
|
4
|
+
data.tar.gz: 928c43327f57fe1c83322eaac961d81c665dbd29611266147d571f4463c29437
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72d6c0589a2c47af7b80b385f8678f0c76dd2bf728878199a536f11d0b29f30dba75779491f3ed6d2f7b6f818c593ff330f7a52e6376945fcf9c59db5431ac3d
|
7
|
+
data.tar.gz: e80374925e3c131a5d1fc06a3e06b6e8f17dfa46a3aa04a368289c9998d86dd1d17dbe330172571472b1a2aa35eeadec0cc2ff903517ca621429357eb27d75aa
|
data/CHANGELOG.md
CHANGED
data/Rakefile
CHANGED
@@ -169,6 +169,30 @@ end
|
|
169
169
|
desc "Compile native extensions (depends on librtlsdr)"
|
170
170
|
task compile: :build_librtlsdr
|
171
171
|
|
172
|
+
task :publish_release do
|
173
|
+
desc "Bump version, update CHANGELOG, commit, tag, and push"
|
174
|
+
puts "This task will bump the version, update CHANGELOG.md, commit the changes, create a git tag, and push everything to the remote repository."
|
175
|
+
puts "Make sure you have committed all your changes before running this task."
|
176
|
+
puts "Do you want to continue? (yes/no)"
|
177
|
+
answer = $stdin.gets.chomp.downcase
|
178
|
+
if answer == "yes"
|
179
|
+
Rake::Task["version:patch"].invoke
|
180
|
+
system("bundle install")
|
181
|
+
puts "Committing changes..."
|
182
|
+
system("git add -A")
|
183
|
+
system("git commit -m 'Bump version to #{RTLSDR::VERSION}'")
|
184
|
+
puts "Creating git tag..."
|
185
|
+
system("git tag v#{RTLSDR::VERSION}")
|
186
|
+
puts "Pushing changes and tags to remote repository..."
|
187
|
+
system("git push && git push --tags")
|
188
|
+
puts "Release process completed successfully!"
|
189
|
+
|
190
|
+
Rake::Task["release"].invoke
|
191
|
+
else
|
192
|
+
puts "Release process aborted."
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
172
196
|
# Version management tasks
|
173
197
|
namespace :version do
|
174
198
|
desc "Bump patch version (x.y.z -> x.y.z+1)"
|
data/lib/rtlsdr/version.rb
CHANGED