Giter VIP home page Giter VIP logo

Comments (6)

m-tmatma avatar m-tmatma commented on August 22, 2024 1

version: 1.0.{build}-{branch}
これを設定することでほぼかぶらない用にできるかもしれません。

一応補足

これを設定するわけではなく、ここに使われている {build} や {branch} などの変数を
組み合わせて使うという意味です。

from sakura.

kobake avatar kobake commented on August 22, 2024

User name が sakura-editor のユーザを作ってみました。が、URLからハイフン削られちゃいました。
https://ci.appveyor.com/project/sakuraeditor/sakura
ちょっと悲しい…。

初回ビルドが謎エラーで止まりました。
https://ci.appveyor.com/project/sakuraeditor/sakura/build/1.0.1

Build started
Set-WinSystemLocale ja-JP
Start-Sleep -s 5
Restart-Computer
git clone -q --branch=master https://github.com/sakura-editor/sakura.git C:\projects\sakura
fatal: destination path 'C:\projects\sakura' already exists and is not an empty directory.
Command exited with code 128

AppVeyor の問題っぽい感じがします。しかしビルド実行し直したらちゃんと進みました。

ちょっと様子見していきます。問題なさそうであれば運用をこちらに切り替えます。

from sakura.

kobake avatar kobake commented on August 22, 2024

AppVeyor の Environment 設定で clone 先のディレクトリパスを明示指定できるみたいだったので、ここで他プロジェクトと被りにくいパスに変更しました。

clone-directory

from sakura.

kobake avatar kobake commented on August 22, 2024

上記対応により fatal: destination path 'C:\projects\....' already exists and is not an empty directory. のエラーは出なくなる、はずです。

#33 で README 記載の AppVeyor の URL を kobake のものから sakuraeditor のものに変更しました。

これで本 Issue は対応完了とします。

from sakura.

m-tmatma avatar m-tmatma commented on August 22, 2024

AppVeyor の Environment 設定で clone 先のディレクトリパスを明示指定できるみたいだったので、ここで他プロジェクトと被りにくいパスに変更しました。

appveyor.yml があると、appveyor.yml の設定が優先されそうに思いますが、
設定は有効に働いていますか?

変更してからまだビルドしてないですか?

https://www.appveyor.com/docs/appveyor-yml/ によると、
clone_folder: という設定で変更できるみたいです。

また上記サイトで以下のようなコードがコメントとして記載されています。

version: 1.0.{build}-{branch}

これを設定することでほぼかぶらない用にできるかもしれません。

from sakura.

kobake avatar kobake commented on August 22, 2024

AppVeyor の Environment 設定で clone 先のディレクトリパスを明示指定できるみたいだったので、ここで他プロジェクトと被りにくいパスに変更しました。

appveyor.yml があると、appveyor.yml の設定が優先されそうに思いますが、
設定は有効に働いていますか?

ちょうど今エラーが発生していて、見に行ったら前と変わらないエラーが出ていました…

もうちょっと小さいプロジェクトで試行錯誤してみます。解決したつもりになっていたのはちょっと早計でした。

from sakura.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.