remove git version info
This commit is contained in:
parent
d04e7b22e4
commit
c18de40edd
|
@ -1,6 +0,0 @@
|
||||||
pub const hash = "a662f6f674e66aa4cff435553e2593b7fd0a9aef";
|
|
||||||
pub const abbreviated_hash = "a662f6f";
|
|
||||||
pub const commit_date = "2022-06-05 18:34:39 -0700";
|
|
||||||
pub const branch = "HEAD -> master, origin/master";
|
|
||||||
pub const dirty = true;
|
|
||||||
pub const pretty_version = "version a662f6f, committed at 2022-06-05 18:34:39 -0700 (dirty)";
|
|
|
@ -1,7 +1,6 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const aws = @import("aws.zig");
|
const aws = @import("aws.zig");
|
||||||
const json = @import("json.zig");
|
const json = @import("json.zig");
|
||||||
const version = @import("git_version.zig");
|
|
||||||
|
|
||||||
var verbose: u8 = 0;
|
var verbose: u8 = 0;
|
||||||
|
|
||||||
|
@ -63,11 +62,7 @@ pub fn main() anyerror!void {
|
||||||
var tests = std.ArrayList(Tests).init(allocator);
|
var tests = std.ArrayList(Tests).init(allocator);
|
||||||
defer tests.deinit();
|
defer tests.deinit();
|
||||||
var args = std.process.args();
|
var args = std.process.args();
|
||||||
var first = true;
|
|
||||||
while (args.next()) |arg| {
|
while (args.next()) |arg| {
|
||||||
if (first)
|
|
||||||
std.log.info("{s} {s}", .{ arg, version.pretty_version });
|
|
||||||
first = false;
|
|
||||||
if (std.mem.eql(u8, "-v", arg)) {
|
if (std.mem.eql(u8, "-v", arg)) {
|
||||||
verbose += 1;
|
verbose += 1;
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user