我在 git 标记方面遇到了麻烦,现在我的构建管道(信号量)已损坏,并出现以下错误消息。不知道如何解决这个问题。
错误信息
Unpacking
objects: 100% (32/32), done.
From github.com:jack/my-app
c8a2420..75ea515 develop -> origin/develop
b4069ce..9f672e1 feature/RY-1144 -> origin/feature/RY-1144
8dbf387..ac9db9d master -> origin/master
! [rejected] v1.46.0 -> v1.46.0 (would clobber existing tag)
* [new tag] v1.47.0 -> v1.47.0
Run Code Online (Sandbox Code Playgroud)
更新
我正在使用带有一些扩展的可视代码,并查看可视代码中存储库的历史记录,看起来标签可以被删除?如果我单击标签“v1.46.0”旁边的“x”,然后提交并推送(使用后续标签),这会解决我的问题吗?
我的Phoenix应用程序有这个Dockerfile。使用Semaphore CI运行升级时,我的部署失败并返回以下错误:
ERROR: unsatisfiable constraints:
libssl1.0 (missing):
required by: world[libssl1.0]
pdftk (missing):
required by: world[pdftk]
Run Code Online (Sandbox Code Playgroud)
为什么无法获取这两个软件包?
在使用 Jest 运行我的测试套件时,我遇到了要求我更新软件包的警告:
npm WARN deprecated jest-dom@2.1.1: jest-dom has moved to @testing-library/jest-dom. Please uninstall jest-dom and install @testing-library/jest-dom instead, or use an older version of jest-dom. Learn more about this change here: https://github.com/testing-library/dom-testing-library/issues/260 Thanks! :)
npm WARN deprecated react-testing-library@5.9.0: react-testing-library has moved to @testing-library/react. Please uninstall react-testing-library and install @testing-library/react instead, or use an older version of react-testing-library. Learn more about this change here: https://github.com/testing-library/dom-testing-library/issues/260 Thanks! :)
Run Code Online (Sandbox Code Playgroud)
在 package.json 我更改了以下内容
"jest-dom": "^2.1.1",
"react-testing-library": "^5.3.0"
Run Code Online (Sandbox Code Playgroud)
到
"@testing-library/jest-dom": "^5.11.1",
"@testing-library/react": "^10.4.7"
Run Code Online (Sandbox Code Playgroud)
当然还有来自的导入语句 …